in reply to Re: Re: Catching signals
in thread Catching signals

Try putting the signal handler before the fork() and adding a sleep(1) to the child (between the two prints) so it doesn't finish before it receives the signal.