Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from subprocess import PIPE, Popen
- p1 = Popen(["python", "exe1.py"], stdin=PIPE, stdout=PIPE, bufsize=1)
- p2 = Popen(["python", "exe2.py"], stdin=PIPE, stdout=PIPE, bufsize=1)
- p2 = Popen(["python", "exe3.py"], stdin=PIPE, stdout=PIPE, bufsize=1)
- while True:
- print('true')
Advertisement
Add Comment
Please, Sign In to add comment