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