BioLion has asked for the wisdom of the Perl Monks concerning the following question:
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.
Just a something something...
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: capture output from another program
by xdg (Monsignor) on Jun 02, 2009 at 17:54 UTC | |
by BioLion (Curate) on Jun 03, 2009 at 16:28 UTC | |
by xdg (Monsignor) on Jun 03, 2009 at 17:04 UTC |
Back to
Seekers of Perl Wisdom