Utilities/BackgroundService.py

changeset 5762
76ef5f340007
parent 5741
ece3c72a24c3
child 5874
a28f7d2ff976
equal deleted inserted replaced
5761:f9e1e4e50b33 5762:76ef5f340007
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

eric ide

mercurial