cmd/forever.py

7 lines
97 B
Python
Raw Normal View History

2020-01-06 05:23:46 +00:00
import subprocess
import sys
cmd = sys.argv[1:]
while True:
subprocess.run(cmd, shell=True)