|Syntactic Confectionery Delight|
WNOHANG uninitialized?by hotshot (Prior)
|on Feb 02, 2004 at 14:44 UTC ( #325862=perlquestion: print w/replies, xml )||Need Help??|
hotshot has asked for the wisdom of the Perl Monks concerning the following question:
I use the following code for executing a script with timeout on it:
the above code is wrraped into a function and called with two parameters: script and timeout.
my problem is that i get the following message when calling the function:
Argument "WNOHANG" isn't numeric in waitpid at /../../prog.pl
and the program gets stuck.
can anyone help?
Back to Seekers of Perl Wisdom