Re: mod_perl2 STDOUT question

2008-08-20 Thread Jim Brandt
The system call forks a process and that process inherits the STDOUT from perl. So since your perl is the persistent interpreter in Apache, it would make sense that that's where most of the STDOUT messages will go. I'm not sure if there is a way to intercept the STDOUT of the forked process

Re: mod_perl2 STDOUT question

2008-08-20 Thread Perrin Harkins
On Wed, Aug 20, 2008 at 11:26 AM, Niels Larsen [EMAIL PROTECTED] wrote: I can put the command line to run in backticks and do print [EMAIL PROTECTED], and that too works, but would like to use system, Proc::SafeExec, etc. To fork and capture output without backticks, you have to do something

RE: mod_perl2 STDOUT question

2008-08-20 Thread Berg, Eric
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Perrin Harkins Sent: Wednesday, August 20, 2008 12:47 PM To: Niels Larsen Cc: modperl@perl.apache.org Subject: Re: mod_perl2 STDOUT question On Wed, Aug 20, 2008 at 11:26 AM, Niels Larsen [EMAIL