##// END OF EJS Templates
store exit code in user_ns['_exit_code']...
store exit code in user_ns['_exit_code'] _exit_code is an equivalent to `$?` in bash. It always has the most recent exit value of a shell.system subprocess.

File last commit:

r3069:7321b392
r3910:49cc4a9d
Show More
ipython-qtconsole
6 lines | 110 B | text/plain | TextLexer
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from IPython.frontend.qt.console.ipythonqt import main
main()