Guest User

Untitled

a guest
May 21st, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. Traceback (most recent call last):
  2. File "serverApp.py", line 7, in <module>
  3. subprocess.Popen(cmd, stdout=subprocess.PIPE)
  4. File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py",
  5. line 710, in __init__
  6. errread, errwrite)
  7. File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py",
  8. line 1335, in _execute_child
  9. raise child_exception
  10. OSError: [Errno 2] No such file or directory
  11.  
  12. import subprocess
  13.  
  14. cmd = ["xterm"]
  15.  
  16. cmd.extend(['-e','bash','-c','python serverApp.py; exec $SHELL'])
Add Comment
Please, Sign In to add comment