How Do I Kill Background Processes / Jobs When My Shell Script Exits?
Fleeting- Référence externe : https://stackoverflow.com/questions/360201/how-do-i-kill-background-processes-jobs-when-my-shell-script-exits
trap “trap - SIGTERM && kill – -$$” SIGINT SIGTERM EXIT