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
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
-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