master
Daniel Perelman 3 years ago
parent 3d620591ba
commit 0e4167e786
  1. 2
      pkill-P-full-example.sh
  2. 2
      pkill-P.sh

@ -4,7 +4,7 @@ set -e
kill_child_jobs() {
echo "In kill_child_jobs()..."
# From https://stackoverflow.com/a/23336595
# Kills all child proceses, not just jobs.
# Kills all child processes, not just jobs.
pkill -P $$
}
cleanup() {

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

Loading…
Cancel
Save