Not
sure if you can with system() but you can with backticks:
my
$sys_call = `echo hi there`;
print "sys_call=$sys_call\n";
print "sys_call=$sys_call\n";
-----Original Message-----
From: George Gallen [mailto:[EMAIL PROTECTED]
Sent: Monday, October 06, 2003 10:40 AM
To: [EMAIL PROTECTED]
Subject: Capturing the output of a sytem() commandAm I able to capture the output of a system call?
Currently, I route the output to a temporary file,
then read the contents in when the call is done.I'd rather not make a temp file.
George