|Think about Loose Coupling|
WNOHANG uninitialized?by hotshot (Prior)
|on Feb 02, 2004 at 14:44 UTC||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?