From a2a3cb23defa5e17a159982adac33e3dd58d8a93 Mon Sep 17 00:00:00 2001 From: "Kurt B. Kaiser" Date: Tue, 24 Dec 2002 03:33:12 +0000 Subject: IDLE should exit if it fails to connect with the execution server subprocess. Currently it opens a dead shell window. --- Lib/idlelib/PyShell.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/idlelib/PyShell.py b/Lib/idlelib/PyShell.py index d89802c..e3605ac 100644 --- a/Lib/idlelib/PyShell.py +++ b/Lib/idlelib/PyShell.py @@ -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) -- cgit v0.12