You can do something like this. $results = `$command 2>&1`; This will redirect STDERR to STDOUT which
is returned to $results. Hope this helps. -----Original Message----- I wasn't thinking when I
sent this one out. I guess if I set it up as
returning information into an array, vs a straigt $ varible, then I
just read it like reading a file into an array. Thanks George
|
Title: Capturing the output of a sytem() command
- RE: Capturing the output of a sytem() command George Gallen
- RE: Capturing the output of a sytem() command Thomas, Mark - BLS CTR
- RE: Capturing the output of a sytem() command Bullock, Howard A.
- RE: Capturing the output of a sytem() command Peter Eisengrein
- RE: Capturing the output of a sytem() command Thomas, Mark - BLS CTR
- RE: Capturing the output of a sytem() command Lynn. Rickards
- RE: Capturing the output of a sytem() command George Gallen
- RE: Capturing the output of a sytem() command Michael Genovese
- RE: Capturing the output of a sytem() command Lynn. Rickards
- Morgan, Steve H.