Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: Catching STDIN and STDERR on the flyby jettero (Monsignor) |
on Dec 02, 2009 at 20:19 UTC ( [id://810677]=note: print w/replies, xml ) | Need Help?? |
See IPC::Open3. Should solve the problem nicely — although it may require some thought. There are also really nice POE solutions for this, particularly if you want to do something event based instead of polling the inputs/outputs.
-Paul
In Section
Seekers of Perl Wisdom
|
|