in reply to How to pass CTRL-C to child script only
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to pass CTRL-C to child script only
by ohmysea (Novice) on Aug 23, 2010 at 14:13 UTC | |
by lidden (Curate) on Aug 23, 2010 at 14:43 UTC | |
by gvenkat (Novice) on Aug 23, 2010 at 14:48 UTC | |
by ohmysea (Novice) on Aug 23, 2010 at 15:32 UTC | |
by CountZero (Bishop) on Aug 23, 2010 at 17:32 UTC | |
by spazm (Monk) on Aug 24, 2010 at 03:04 UTC | |
by spazm (Monk) on Aug 24, 2010 at 17:53 UTC |