mirror of
https://github.com/gotenberg/gotenberg.git
synced 2026-08-18 13:12:17 +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, "--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...,
|
||||||
|
|||||||
Reference in New Issue
Block a user