Guest User

Untitled

a guest
Jan 21st, 2019
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. #!/usr/bin/python3
  2. from subprocess import Popen
  3. import sys
  4.  
  5. filename = "/home/ubuntu/streams.py"
  6.  
  7. while True:
  8. print("\nStarting " + filename)
  9. p = Popen("python3 " + filename, shell=True)
  10. p.wait()
Add Comment
Please, Sign In to add comment