##// END OF EJS Templates
Use default OS shell to run system commands...
Use default OS shell to run system commands Instead of using os.system which uses /bin/sh, this uses subprocess.call (the replacement of os.system) to run the command using the default shell of the OS. With this, one can use more advanced commands for bash, zsh, ksh, ... I also edited the docstring, added comments and fixed the handling of return codes.
Théophile Studer -
r12366:47045d65
Show More
Name Size Modified Last Commit Author
/ IPython / nbformat / v3 / tests
__init__.py Loading ...
formattest.py Loading ...
nbexamples.py Loading ...
test_json.py Loading ...
test_nbbase.py Loading ...
test_nbpy.py Loading ...