91 |
91 |
92 backgroundClient = os.path.join( |
92 backgroundClient = os.path.join( |
93 getConfig('ericDir'), |
93 getConfig('ericDir'), |
94 "Utilities", "BackgroundClient.py") |
94 "Utilities", "BackgroundClient.py") |
95 proc = QProcess() |
95 proc = QProcess() |
96 proc.setProcessChannelMode(QProcess.ForwardedChannels) |
96 proc.setProcessChannelMode( |
|
97 QProcess.ProcessChannelMode.ForwardedChannels) |
97 args = [backgroundClient, self.hostAddress, str(port), |
98 args = [backgroundClient, self.hostAddress, str(port), |
98 str(Preferences.getUI("BackgroundServiceProcesses"))] |
99 str(Preferences.getUI("BackgroundServiceProcesses"))] |
99 proc.start(interpreter, args) |
100 proc.start(interpreter, args) |
100 if not proc.waitForStarted(10000): |
101 if not proc.waitForStarted(10000): |
101 proc = None |
102 proc = None |