Created
October 12, 2011 13:01
-
-
Save dedan/1281168 to your computer and use it in GitHub Desktop.
senna server
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import subprocess | |
import sys | |
import time | |
try: | |
p = subprocess.Popen([sys.executable, '-m', 'Pyro4.naming'], | |
stdout=subprocess.PIPE, | |
stderr=subprocess.STDOUT) | |
time.sleep(5) | |
except Exception, e: | |
raise e | |
finally: | |
p.terminate() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment