in reply to Re: Re: Embedded redirection
in thread Embedded redirection
Since that makes it a bit harder to kill a run-away process, you might want to set a timeout so your script commits suicide after a reasonable amount of time.$SIG{HUP} = $SIG{INT} = $SIG{TERM} = 'IGNORE';
$SIG{ALRM} = sub { die "$$ timed out" }; alarm 30;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Embedded redirection
by Anonymous Monk on Jan 13, 2001 at 06:44 UTC | |
by Fastolfe (Vicar) on Jan 13, 2001 at 07:50 UTC |