Guest User

Untitled

a guest
Oct 22nd, 2017
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1. >>> x = shlex.split("TEST_PATH=content/base/test/test_CrossSiteXHR.html make -C obj-ff-dbg mochitest-plain")
  2. >>> x
  3. ['TEST_PATH=content/base/test/test_CrossSiteXHR.html', 'make', '-C', 'obj-ff-dbg', 'mochitest-plain']
  4. >>> subprocess.call(x)
  5. Traceback (most recent call last):
  6. File "<stdin>", line 1, in <module>
  7. File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/subprocess.py", line 470, in call
  8. return Popen(*popenargs, **kwargs).wait()
  9. File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/subprocess.py", line 623, in __init__
  10. errread, errwrite)
  11. File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/subprocess.py", line 1141, in _execute_child
  12. raise child_exception
  13. OSError: [Errno 2] No such file or directory
Add Comment
Please, Sign In to add comment