Created
October 21, 2011 10:35
-
-
Save musically-ut/1303540 to your computer and use it in GitHub Desktop.
Restarting 'lolprogram' on restarts (by Nirbheek)
This file contains 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
retcode = 1 | |
while retcode: | |
retcode = subprocess.call(["lolprogram", "arg1", "arg2"]) | |
print("Exiting with return code 0") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment