##// 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.

File last commit:

r3410:21647ae3
r12366:47045d65
Show More
__init__.py
5 lines | 97 B | text/x-python | PythonLexer
try:
import pexpect
from pexpect import *
except ImportError:
from _pexpect import *