cmd/forever.py
2020-01-05 21:23:46 -08:00

6 lines
97 B
Python

import subprocess
import sys
cmd = sys.argv[1:]
while True:
subprocess.run(cmd, shell=True)