Last active
August 29, 2015 14:12
-
-
Save hyharryhuang/15a6dc9e0c151ff05fff to your computer and use it in GitHub Desktop.
Easy Kill and Rerun Python Wrapper
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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