in reply to How to run a command, gather its output and kill it after a specified time?
Maybe I'm missing the point here, but if you don't want the script to die in case the alarm triggers, maybe just remove the respective call to die?
I also recommend looking at IPC::Run, which also has timeouts.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: How to run a command, gather its output and kill it after a specified time?
by blindluke (Hermit) on Feb 15, 2012 at 14:56 UTC |
In Section
Seekers of Perl Wisdom