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

r6446:74c10b3c
r12366:47045d65
Show More
_sysinfo.py
2 lines | 36 B | text/x-python | PythonLexer
MinRK
store git commit hash in utils._sysinfo instead of hidden git_commit_info.ini data file.
r6315 # GENERATED BY setup.py
Fernando Perez
Emergency fix for py3 breakage introduced in 576f6f (merge of #1538)...
r6446 commit = ""