On Wed, 6 Feb 2002 [EMAIL PROTECTED] wrote:
> I understand how the system command works. I understand the
> difference between system() and backticks. My question is this:
> I want to make a call to an external program and I want the output
> printed to the command line as it is processing, BUT
I usually do not use system or command ticks.
I always pipe the output to STDOUT if I wish to manipulate the output of
any system
command. Alternatively, you could redirect output to a TEMP file, then
read from that file,
but "piping" is more efficient.
open MY_STDOUT, "{system command} | "
On Wed, 6 Feb 2002 [EMAIL PROTECTED] wrote:
> I understand how the system command works. I understand the
> difference between system() and backticks. My question is this:
> I want to make a call to an external program and I want the output
> printed to the command line as it is processing, BUT
TED]]
Sent: Wednesday, February 06, 2002 9:54 AM
To: [EMAIL PROTECTED]
Subject: Not your average system() question...
I understand how the system command works. I understand the
difference between system() and backticks. My question is this:
I want to make a call to an external program and I want
I understand how the system command works. I understand the
difference between system() and backticks. My question is this:
I want to make a call to an external program and I want the output
printed to the command line as it is processing, BUT, I also want
the output returned to me so that I can