Chet Ramey wrote:
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?
Since it's a script, all processes are in the same process group.
Depending on your system (most acc
Thank you for your advice. It's really a nifty solution, and it works
great for me!
Best,
Irek
Chet Ramey wrote:
I run a script, and so Bash runs non-interactively. In the script I
run some commands with:
> some_command &
My script is run by a process which doesn't have a controlling
t
> I run a script, and so Bash runs non-interactively. In the script I
> run some commands with:
>
> > 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 w
I run a script, and so Bash runs non-interactively. In the script I
run some commands with:
> 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 exi