some_coder has asked for the wisdom of the Perl Monks concerning the following question:
Let me explain what i want to accomplish. I want to call "apachefop" to generate some pdfs. apachefop prints massive warnings on stdout/stderr. Exceptions where displayed on stdout/stderr either. i want to log all the displayed errors and warnings only if the program did exit with an error. if it exits successfully i want to ignore the warnings.
i hope you can help me or point me to the right direction. Ah before i forget it, i am using Perl 5.8.8 in an Apache/mod_perl environment.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: start external program getting return code, stdout and stderr
by Athanasius (Cardinal) on Sep 04, 2012 at 14:49 UTC |