Installation $ [sudo] pip install pid-trap $ [sudo] npm i -g pid-trap Examples sleep 5 & pid-trap $! echo beep readme42.com