Eli Bendersky <eli...@gmail.com> added the comment: Am I missing something, or is there no explicit command to kill the subprocess on Windows in PyShell.py
The kill_subprocess method (which does get invoked) of ModifiedInterpreter is: def kill_subprocess(self): try: self.rpcclt.close() except AttributeError: # no socket pass self.unix_terminate() self.tkconsole.executing = False self.rpcclt = None The subprocess is started with: self.rpcpid = os.spawnv(os.P_NOWAIT, sys.executable, args) Could it be that in earlier versions this ensured the subprocess exited with its parent, but this somehow got modified? Note that the same code existed in PyShell.py for ages, so it's unlikely that the culprit is there. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue12540> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com