Files
2018-06-06 18:49:59 +01:00

9 lines
192 B
Python

#!/usr/bin/python
from subprocess import Popen
import sys
filename = sys.argv[1]
while True:
print("\nStarting " + filename)
p = Popen("python3 " + filename, shell=True)
p.wait()