|
From: | Irek Szczesniak |
Subject: | how to make a non-interactive bash kill its children |
Date: | Tue, 24 May 2005 11:34:10 -0600 |
User-agent: | Mozilla Thunderbird 1.0.2-1.3.3 (X11/20050513) |
> some_command &My script is run by a process which doesn't have a controlling terminal, and so my script doesn't inherit the terminal.
I want Bash to kill the commands that I run when my script exits. The option "huponexit" doesn't work for me because Bash runs non-interactively. How can I achieve my goal?
Thanks for reading. Best, Irek
[Prev in Thread] | Current Thread | [Next in Thread] |