eric6/Utilities/BackgroundService.py

changeset 8143
2c730d5fd177
parent 7965
48fbf9149d16
child 8173
b2f9cda5cc0e
equal deleted inserted replaced
8141:27f636beebad 8143:2c730d5fd177
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

eric ide

mercurial