Added an owner to the QProcess objects created by the BackgroundService. eric7

Fri, 09 Jul 2021 19:58:16 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Fri, 09 Jul 2021 19:58:16 +0200
branch
eric7
changeset 8456
00a7d3bd87dc
parent 8455
3ca569b8f324
child 8458
d3bedd175c99

Added an owner to the QProcess objects created by the BackgroundService.

eric7/Utilities/BackgroundService.py file | annotate | diff | comparison | revisions
--- a/eric7/Utilities/BackgroundService.py	Wed Jul 07 17:47:13 2021 +0200
+++ b/eric7/Utilities/BackgroundService.py	Fri Jul 09 19:58:16 2021 +0200
@@ -94,7 +94,7 @@
         
         backgroundClient = os.path.join(
             os.path.dirname(__file__), "BackgroundClient.py")
-        proc = QProcess()
+        proc = QProcess(self)
         proc.setProcessChannelMode(
             QProcess.ProcessChannelMode.ForwardedChannels)
         args = [

eric ide

mercurial