in reply to Capturing STDOUT and STDERR of system command, with pure perl?

How about
use IPC::Open3;
See Cookbook chap 16 iirc; or http://perldoc.perl.org/IPC/Open3.html

Cheers
Chris

  • Comment on Re: Capturing STDOUT and STDERR of system command, with pure perl?

Replies are listed 'Best First'.
Re^2: Capturing STDOUT and STDERR of system command, with pure perl?
by EvanK (Chaplain) on Aug 24, 2007 at 14:48 UTC
    I'm an idiot :o

    Thanks, I didn't even realize Open3 was part of the perl distribution.

    __________
    Systems development is like banging your head against a wall...
    It's usually very painful, but if you're persistent, you'll get through it.