dcorbin has asked for the wisdom of the Perl Monks concerning the following question:
I have very repeatable situation where C will not terminate when B does. I've tried a number of variations unsuccessfully. Ideas?sub cleanup { $SIG{HUP}='IGNORE'; kill (HUP,-$$); exit -1; } $SIG{HUP}='cleanup'; $SIG{TERM}='cleanup'; $SIG{QUIT}='cleanup';
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Signal Handling, with system
by graff (Chancellor) on Apr 29, 2002 at 03:45 UTC | |
|
Re: Signal Handling, with system
by dcorbin (Sexton) on Apr 28, 2002 at 17:48 UTC |