mirror of
https://github.com/gotenberg/gotenberg.git
synced 2026-08-08 08:32:16 +01:00
adding back context to unoconv cmd
This commit is contained in:
@@ -104,7 +104,8 @@ func unoconv(ctx context.Context, logger xlog.Logger, fpath, destination string,
|
||||
args = append(args, "--printer", "PaperOrientation=landscape")
|
||||
}
|
||||
args = append(args, "--output", destination, fpath)
|
||||
cmd, err := xexec.Command(
|
||||
cmd, err := xexec.CommandContext(
|
||||
ctx,
|
||||
logger,
|
||||
"unoconv",
|
||||
args...,
|
||||
|
||||
Reference in New Issue
Block a user