The stupid question is the question not asked | |
PerlMonks |
How to force a timeout on a system call?by Xxaxx (Monk) |
on Jun 21, 2001 at 23:37 UTC ( [id://90508]=perlquestion: print w/replies, xml ) | Need Help?? |
Xxaxx has asked for the wisdom of the Perl Monks concerning the following question:
I have a Perl script called by crontab once a day. Within this script I make a system call to whois. Such as: Every now and then I'll take a peek at the current processes using "ps -aux" and I'll notice a stuck "whois" running along with a script waiting its output. I'm sure there is a simple strategy to wrap this system call so that I can either kill it or at least move on. Any clues would be appreciated. Claude
Back to
Seekers of Perl Wisdom
|
|