1
0
Examples of how to kill all child jobs when a shell script exits. https://aweirdimagination.net/2020/06/28/kill-child-jobs-on-script-exit/
Go to file
2020-05-27 13:31:01 -07:00
test Made test output more readable. 2020-05-27 13:24:03 -07:00
all-full-example.sh Remove extra code from all-full-example.sh. 2020-05-27 13:31:01 -07:00
all.sh Renamed all.sh to all-full-example.sh so all.sh can be just the kill_child_jobs() function. 2020-05-27 12:59:51 -07:00
bash.sh Add solution using while kill %%. 2020-05-27 13:20:17 -07:00
dash.sh Add version that works in dash but leaves jobs running in zsh. 2020-05-27 13:28:24 -07:00
LICENSE Initial commit 2020-05-27 07:57:49 +00:00
noop.sh kill_child_jobs() implementation that does nothing for testing. 2020-05-27 13:01:41 -07:00
pkill-P.sh Add example of killing all child processes. 2020-05-27 11:57:00 -07:00
README.md Initial commit 2020-05-27 07:57:49 +00:00
zsh.sh Make zsh.sh into a test case. 2020-05-27 13:24:25 -07:00

kill-child-jobs

Examples of how to kill all child jobs when a shell script exits.