Re: Subprocesses and Ctrl-C handling on windows

2010-11-28 Thread Perry Johnson
On 2010-11-28, Perry Johnson wrote: > I have a python script which spawns a subprocess that takes a few > seconds to complete. If I hit Ctrl-C while the subprocess is > executing, sometimes the python script and the subprocess end silently > and I get back to the shell prompt and sometimes I get t

Subprocesses and Ctrl-C handling on windows

2010-11-28 Thread Perry Johnson
I have a python script which spawns a subprocess that takes a few seconds to complete. If I hit Ctrl-C while the subprocess is executing, sometimes the python script and the subprocess end silently and I get back to the shell prompt and sometimes I get the KeyboardInterrupt exception. Is there any