Re: Canceling/interrupting raw_input

2005-04-18 Thread Daniel Cer
Just a little bit of a follow up on this... If you use win32api.TerminateProcess() instead of sys.exit(), everything works as it should on Windows. That is, there is no longer a need to hit 'enter' one last time in order to get "inputLoop" to terminate. So, modifying the sample code I posted ear

Re: Canceling/interrupting raw_input

2005-04-17 Thread Daniel Cer
For what it's worth, this looks like a Windows specific problem. The code below seems to work as expected on a Linux box. That is, everything terminates, including the "inputLoop", after sys.exit() is called, without the user needing to press 'enter' one last time. However, if I try to run the c