Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Store exit status of last command #616

Closed
larroy opened this Issue Jul 20, 2011 · 1 comment

Comments

Projects
None yet
2 participants

larroy commented Jul 20, 2011

Hi, it would be very useful to store the status of the last command. Would a patch be accepted for this?

http://stackoverflow.com/questions/6755794/check-the-exit-status-of-last-command-in-ipython/6756272#6756272

Regards.

Owner

takluyver commented Jul 20, 2011

It should be stored as _exit_code after you run the command (at least in the upcoming v0.11 release).

@takluyver takluyver closed this Jul 20, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment