Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Easy Kill and Rerun Python Wrapper
STARTSCRIPT="run.py"
echo "Running script..."
sudo pkill -f $STARTSCRIPT
sudo python $STARTSCRIPT &
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.