Issue
I'd like to break out of the currently running program and be dropped back to the shell (without having to restart ipython)
Solution
I had the same issue after reinstalling console2 and ipython on Windows. If you use the ipython.exe launcher, this seems to be a problem and it just closes the whole window. However, if you instead launch ipython with
python C:\python27\scripts\ipython-script.py
then it catches and handles the KeyboardInterrupt just fine and leaves me at the ipython prompt. Hooray.
Answered By - partofthething
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.