Ticket #206 (closed defect: invalid)

Opened 1 year ago

Last modified 11 months ago

Pressing ctrl+c on windows makes ipython go weird

Reported by: jpfarias Assigned to: fperez
Priority: normal Milestone: 0.9.0
Component: ipython Version: 1.0
Severity: normal Keywords: ipython, window, ctrl+c
Cc:

Description

If using ipython on windows dos prompt, when editing a line if you hit ctrl+c ipython will go nuts. Both the ipython shell and the dos prompt will stop working and it needs to close the prompt and start over.

Change History

12/19/07 13:41:09 changed by jstenar

This bugreport made me think of a problem I had when using eggs a year or so ago, I'm not sure if it is the same because there is no information in the bugreport about what installtion method was used.

The problem is that easyinstall puts an exefile in python/Scripts/ipython.exe this exefile launches a separate python process. The problem comes when you press control-c which terminates the ipython.exe but the python process survives. And after that the cmd.exe and the python.exe competes for access to the console which makes the whole thing unusable until you kill the python process.

My guess is that it would be best if we could stop this exe from being installed.

/Jörgen

12/19/07 13:44:48 changed by jpfarias

Hey, Jorgen.

Seems that is exactly what is happening. If I run the c:\python25\scripts\ipython-script.py the problem won't happen.

How do I make it so I can just type ipython on the prompt to run ipython shell?

Thanks,

Joao Paulo F Farias.

12/19/07 16:05:07 changed by jstenar

rename ipython-script.py to ipython.py make sure c:\python25\scripts\ is on the PATH and add .py to environment variable PATHEXT should do the trick you should probably also delete ipython.exe

/Jörgen

12/31/07 07:22:39 changed by vivainio

  • status changed from new to closed.
  • resolution set to invalid.

Closing this as this is not an ipython problem, rather it's an easy_install problem and can be solved with the workaround suggested by jstenar.