Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/python3
- from subprocess import Popen
- import sys
- filename = "/home/ubuntu/streams.py"
- while True:
- print("\nStarting " + filename)
- p = Popen("python3 " + filename, shell=True)
- p.wait()
Add Comment
Please, Sign In to add comment