fork - alarm - outputby chart3399 (Initiate)
|on Jun 08, 2010 at 03:30 UTC||Need Help??|
chart3399 has asked for the
wisdom of the Perl Monks concerning the following question:
Hello All, I've successfully figured out how to use a pipe / fork / alarm combination to successfully kill a child process after a given time. What I can not figure out is how to redirect the output of the child command to an array in the parent command if the command runs successfully. I've been searching and can not come up with a reasonable answer.
Anyone have any suggestions? Thanks, Corey