XP is just a number | |
PerlMonks |
how to kill subprocess when it goes longer than 20 seconds?by echoangel911 (Sexton) |
on Mar 28, 2007 at 15:11 UTC ( [id://607045]=perlquestion: print w/replies, xml ) | Need Help?? |
echoangel911 has asked for the wisdom of the Perl Monks concerning the following question:
Hi,
I am launching a command like this:
Inside the tempfilename, the environment is setup and my tool is called. If someone else is using my tool due to license restrictions, the program will hang thus causing my cgi perl script to hang. Is there anyway to put a timer on this to exit and then continue on?
Back to
Seekers of Perl Wisdom
|
|