Hi Monks,I have written a perl wrapper to manage commandline excecution of another (non-perl, commercial, which i can't modify myself...) program using Parallel::ForkManager (thanks for the tutorial!).
The program being excecuted program spits out a lot of info to the terminal which i would like to capture, and keep the info from each child separate to use later.
Capturing from *my* programs is fine (IO::Capture), but from the (linux) terminal, I don't know where to start.
Can I intercept output from any child process? Even if the output is coming from an external program?Any thoughts would be gratefully received.
|Replies are listed 'Best First'.|
Re: capture output from another program
by xdg (Monsignor) on Jun 02, 2009 at 17:54 UTC