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

r10201:06a54042
r12366:47045d65
Show More
__init__.py
17 lines | 681 B | text/x-python | PythonLexer
MinRK
cleaner error on pyzmq < 2.0.10.
r3317 #-----------------------------------------------------------------------------
MinRK
move check_for_zmq to utils.zmqrelated
r10201 # Copyright (C) 2013 The IPython Development Team
MinRK
cleaner error on pyzmq < 2.0.10.
r3317 #
# Distributed under the terms of the BSD License. The full license is in
# the file COPYING.txt, distributed as part of this software.
#-----------------------------------------------------------------------------
#-----------------------------------------------------------------------------
MinRK
bump minimum pyzmq version to 2.1.11...
r9336 # Verify zmq version dependency >= 2.1.11
MinRK
cleaner error on pyzmq < 2.0.10.
r3317 #-----------------------------------------------------------------------------
MinRK
move check_for_zmq to utils.zmqrelated
r10201 from IPython.utils.zmqrelated import check_for_zmq
MinRK
warn on detection of libzmq 3
r4248
MinRK
move check_for_zmq to utils.zmqrelated
r10201 check_for_zmq('2.1.11', 'IPython.kernel.zmq')
MinRK
add basics to top-level IPython.zmq namespace
r7543
from .session import Session