Skip to content

Instantly share code, notes, and snippets.

@abarnert
Created March 14, 2018 23:51
Show Gist options
  • Save abarnert/8129a96f0022c2b86071297dc961d1d4 to your computer and use it in GitHub Desktop.
Save abarnert/8129a96f0022c2b86071297dc961d1d4 to your computer and use it in GitHub Desktop.
import os
import sys
import time
print('Hi!')
time.sleep(1)
os.execl(sys.executable, sys.executable, *sys.argv)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment