mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/PdfHandler
synced 2024-11-24 00:07:10 +00:00
Send ghostscript errors to stderr instead of stdout
According to ghostscript developers the parameter -sstdout should be after -sOutputFile. Bug: T50007 Change-Id: I13fd25ada571aee9eb793cd6e195a04eb86bce63
This commit is contained in:
parent
1035a2a337
commit
3182cba012
|
@ -196,6 +196,7 @@ class PdfHandler extends ImageHandler {
|
|||
$wgPdfProcessor,
|
||||
"-sDEVICE=jpeg",
|
||||
"-sOutputFile=-",
|
||||
"-sstdout=%stderr",
|
||||
"-dFirstPage={$page}",
|
||||
"-dLastPage={$page}",
|
||||
"-dSAFER",
|
||||
|
|
Loading…
Reference in a new issue