Untested
Did you set A to ignore and B to handle the signal? Please show some code, so that the monastery can help you find the problem.
Update: As stated below, you will probably need to, after forking, set the process group and/or pass along the signal from A to B.
--MidLifeXis
In reply to Re: How to pass CTRL-C to child script only
by MidLifeXis
in thread How to pass CTRL-C to child script only
by ohmysea
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |