IDLE should exit if it fails to connect with the execution server

subprocess.  Currently it opens a dead shell window.
This commit is contained in:
Kurt B. Kaiser 2002-12-24 03:33:12 +00:00
parent 11220fad1d
commit a2a3cb23de
1 changed files with 1 additions and 1 deletions

View File

@ -340,7 +340,7 @@ class ModifiedInterpreter(InteractiveInterpreter):
+ ", retrying..."
else:
display_port_binding_error()
return
sys.exit()
# Accept the connection from the Python execution server
self.rpcclt.accept()
self.rpcclt.register("stdin", self.tkconsole)