From: ivan Date: Wed, 18 Jun 2008 21:18:40 +0000 (+0000) Subject: fix regression caused by use of IPC::Run to run pslatex: send STDOUT and STDERR from... X-Git-Tag: root_of_webpay_support~551 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=795a85c10d898120a2a6341c4df32fb60b069a64;p=freeside.git fix regression caused by use of IPC::Run to run pslatex: send STDOUT and STDERR from pslatex to /dev/null, we don't want them --- diff --git a/FS/FS/Misc.pm b/FS/FS/Misc.pm index 936f94a6e..bf286c077 100644 --- a/FS/FS/Misc.pm +++ b/FS/FS/Misc.pm @@ -745,8 +745,7 @@ sub _pslatex { for ( 1, 2 ) { local($SIG{CHLD}) = sub {}; - #run( \@cmd, '>'=>'/dev/null', '2>'=>'/dev/null', timeout($timeout) ) - run( \@cmd, timeout($timeout) ) + run( \@cmd, '>'=>'/dev/null', '2>'=>'/dev/null', timeout($timeout) ) or die "pslatex $file.tex failed; see $file.log for details?\n"; }