|The stupid question is the question not asked|
open3 and IO::Selectby stephens2k (Novice)
|on Nov 19, 2007 at 21:20 UTC||Need Help??|
stephens2k has asked for the
wisdom of the Perl Monks concerning the following question:
I'm trying to write a script that will execute a process in the background, monitoring STDOUT and STDERR to obtain data, then print "QUIT" on STDIN to kill off the application. I'm developing on XP but this will run on *nix.
I'm attempting to use open3 and IO::Select to read both STDOUT and STDERR without blocking. It ain't working...
I'm open to other approaches here.