in reply to Catching signals
It's possible you send that signal to the child before the local $SIG{INT} is executed, for instance.
Try setting $SIG{INT} before the fork, and see what happens. Don't forget to add $$ to what the die prints out, though.
I'd test it myself, but signal handling in perl on cygwin has a horrible tendency to hang my whole NT system...
--
Mike
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Catching signals
by Anonymous Monk on Sep 04, 2002 at 17:38 UTC | |
by Anonymous Monk on Sep 04, 2002 at 17:46 UTC | |
by sauoq (Abbot) on Sep 04, 2002 at 18:42 UTC | |
by gri6507 (Deacon) on Sep 04, 2002 at 18:46 UTC | |
by sauoq (Abbot) on Sep 04, 2002 at 19:21 UTC | |
by RMGir (Prior) on Sep 04, 2002 at 17:55 UTC | |
by Anonymous Monk on Sep 04, 2002 at 18:18 UTC | |
by RMGir (Prior) on Sep 04, 2002 at 18:27 UTC | |
by gri6507 (Deacon) on Sep 04, 2002 at 19:10 UTC |