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
In reply to Re: Catching signals
by RMGir
in thread Catching signals
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |