1
0
kill-child-jobs/pkill-P.sh
2020-07-04 20:38:09 -07:00

7 lines
169 B
Bash
Executable File

kill_child_jobs() {
echo "In kill_child_jobs()..."
# From https://stackoverflow.com/a/23336595
# Kills all child processes, not just jobs.
pkill -P $$
}