in reply to Re: Re: Capturing a Browser Timeout Signal
in thread Capturing a Browser Timeout Signal
Try trapping the following signals:
HUP, INT, QUIT, KILL, TERM, STOP, ABRT
One of those will probably do it but I'm not sure which.
To trap a signal, use the following:
$SIG{KILL} = sub { print "This is my signal handling code. Log messages here.\n"; };
BTW, you can get a list (in the form of a single string separated by single spaces) of all the signals your system supports like this:
use Config; print "$Config{sig_name}\n";
HTH
bbfu
Seasons don't fear The Reaper.
Nor do the wind, the sun, and the rain.
We can be like they are.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: (bbfu) (sig suggestions) Re(2): Capturing a Browser Timeout Signal
by Anonymous Monk on May 25, 2001 at 14:28 UTC | |
by bbfu (Curate) on May 25, 2001 at 23:06 UTC |