Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Traceback (most recent call last):
- File "serverApp.py", line 7, in <module>
- subprocess.Popen(cmd, stdout=subprocess.PIPE)
- File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py",
- line 710, in __init__
- errread, errwrite)
- File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py",
- line 1335, in _execute_child
- raise child_exception
- OSError: [Errno 2] No such file or directory
- import subprocess
- cmd = ["xterm"]
- cmd.extend(['-e','bash','-c','python serverApp.py; exec $SHELL'])
Add Comment
Please, Sign In to add comment