Commit b079fd09 authored by Kurt B. Kaiser's avatar Kurt B. Kaiser

On Windows the subprocess was not exiting during a restart.

This bug, henceforth designated Freddy, was due to the mistaken
elimination of the KeyboardInterrupt exception at the previous revision.
PyShell's unix_terminate hammer was masking the problem on Linux.  On W2K
the subprocess MainThread was trying to print the exception after the
SockThread had ceased to service the socket.  The subprocess would then
detach and spin when the GUI created the new subprocess.

Modified Files: run.py
parent 776f8ef4
...@@ -62,6 +62,8 @@ def main(): ...@@ -62,6 +62,8 @@ def main():
method, args, kwargs = request method, args, kwargs = request
ret = method(*args, **kwargs) ret = method(*args, **kwargs)
rpc.response_queue.put((seq, ret)) rpc.response_queue.put((seq, ret))
except KeyboardInterrupt:
continue
except: except:
print_exception() print_exception()
rpc.response_queue.put((seq, None)) rpc.response_queue.put((seq, None))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment