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...