Files
2018-11-11 13:59:03 +00:00

10 lines
193 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()