--- a/src/eric7/UI/UserInterface.py Sun Dec 15 11:43:13 2024 +0100 +++ b/src/eric7/UI/UserInterface.py Tue Dec 17 10:33:49 2024 +0100 @@ -6715,7 +6715,7 @@ @param tool dictionary of tool entries @type dict """ - proc = QProcess() + proc = QProcess(self) procData = (None,) program = tool["executable"] args = [] @@ -6815,11 +6815,12 @@ toolProcData[0].replace(text) toolProcData[0].endUndoAction() - # now delete the exited procs from the list of running processes + # now delete the exited processes from the list of running processes for proc in exitedProcs: self.toolProcs.remove(proc) t = self.tr("Process '{0}' has exited.\n").format(proc[0]) self.appendToStdout(t) + proc.deleteLater() def __showPythonDoc(self): """