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
This commit is contained in:
Kurt B. Kaiser 2003-05-14 18:15:40 +00:00
parent d8f21203b0
commit aa6b856a42
1 changed files with 2 additions and 0 deletions

View File

@ -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))