Perl-Sensitive Sunglasses | |
PerlMonks |
capture output from another programby BioLion (Curate) |
on Jun 02, 2009 at 17:40 UTC ( [id://767696]=perlquestion: print w/replies, xml ) | Need Help?? |
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...
Back to
Seekers of Perl Wisdom
|
|