# if you run a script that launches other processes, and you want to make sure those processes exit when your script exists, this helps: trap 'kill $(jobs -p)' EXIT