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/
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Daniel Perelman 9c7b084555 | 4 years ago | |
---|---|---|
test | 4 years ago | |
LICENSE | 4 years ago | |
README.md | 4 years ago | |
all-full-example.sh | 4 years ago | |
all.sh | 4 years ago | |
bash.sh | 4 years ago | |
dash.sh | 4 years ago | |
noop.sh | 4 years ago | |
pkill-P-full-example.sh | 4 years ago | |
pkill-P.sh | 4 years ago | |
zsh.sh | 4 years ago |
README.md
kill-child-jobs
Examples of how to kill all child jobs when a shell script exits.