From: | Jorge Almeida <jalmeida@××××××××××××.pt> |
---|---|
To: | gentoo-user@g.o |
Subject: | [gentoo-user] [OT] kill a child and suicide |
Date: | Tue, 02 May 2006 12:48:38 |
Message-Id: | Pine.LNX.4.64.0605021335350.17917@jmaa.math.ist.utl.pt |
1 | parent.sh |
2 | #!/bin/bash |
3 | <do something> |
4 | /path/to/child.sh |
5 | <do something else> |
6 | |
7 | When parent.sh receives a TERM signal, I would like child.sh to receive |
8 | TERM also, and then parent.sh receive TERM. |
9 | The <do something else> part is why I can't use "exec /path/to/child.sh". |
10 | Is there some way to achieve this? |
11 | |
12 | -- |
13 | Jorge Almeida |
14 | -- |
15 | gentoo-user@g.o mailing list |
Subject | Author |
---|---|
Re: [gentoo-user] [OT] kill a child and suicide | Etaoin Shrdlu <shrdlu@×××××××××××××.org> |
[gentoo-user] Re: [OT] kill a child and suicide | Moshe Kaminsky <kaminsky@××××××××××××.il> |
Re: [gentoo-user] [OT] kill a child and suicide | Christopher Fisk <chrisf@××××××××.net> |