diff --git a/Modules/_tkinter.c b/Modules/_tkinter.c index 5825eff95d8..c1fa4a5b9e5 100644 --- a/Modules/_tkinter.c +++ b/Modules/_tkinter.c @@ -1034,6 +1034,7 @@ Tkapp_MainLoop (self, args) } Tk_DoOneEvent (0); } + quitMainLoop = 0; if (errorInCmd) {