Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: script hangs after executing programby monkey_boy (Priest) |
on Dec 15, 2006 at 17:07 UTC ( [id://590059]=note: print w/replies, xml ) | Need Help?? |
Are you sure its this line thats causing the hang? 1st try this:
My second guess is that the $prog is waiting for something, like some data to be piped to it, what does the "top" command show, is it using cpu etc? I guess we would need a lot more info on $prog to make a better guess. This is not a Signature...
In Section
Seekers of Perl Wisdom
|
|