Keep It Simple, Stupid | |
PerlMonks |
Process time outby muppetBoy (Pilgrim) |
on May 18, 2000 at 18:15 UTC ( [id://13018]=perlquestion: print w/replies, xml ) | Need Help?? |
muppetBoy has asked for the wisdom of the Perl Monks concerning the following question:
I need to invoke a system process as part of some housekeeping routines. The problem is that it sometimes hangs and doesn't return anything. Is there a way that I can invoke the process and after, say, 10 minutes if it hasn't returned anything kill the process and raise warnings etc.? I'm sure there is an obvious solution but I can't think of it.
Back to
Seekers of Perl Wisdom
|
|