Title: Capturing the output of a sytem() command

Try: @array = `command` using backticks. STDOUT is sent to an array.

 

Howard A. Bullock

Global IT Infrastructure

717-810-3584

 

-----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() command

 

Am 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

Reply via email to