#!/bin/bash set -m /home/pi/LLDPi/LLDPiGUI.py & npid=$! set +m sudo kill -TERM -- -$1 exit 0