adding back context to unoconv cmd

This commit is contained in:
Julien Neuhart
2019-09-30 15:54:17 +02:00
parent fef16f6b28
commit a942224f46

View File

@@ -104,7 +104,8 @@ func unoconv(ctx context.Context, logger xlog.Logger, fpath, destination string,
args = append(args, "--printer", "PaperOrientation=landscape") args = append(args, "--printer", "PaperOrientation=landscape")
} }
args = append(args, "--output", destination, fpath) args = append(args, "--output", destination, fpath)
cmd, err := xexec.Command( cmd, err := xexec.CommandContext(
ctx,
logger, logger,
"unoconv", "unoconv",
args..., args...,