Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python restart script

sys.stdout.flush()
os.execl(sys.executable, 'python', __file__, *sys.argv[1:])
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #restart #script
ADD COMMENT
Topic
Name
8+2 =