Utilities/BackgroundService.py

changeset 3821
8731f4bf0704
parent 3670
f0cb7579c0b4
child 4021
195a471c327b
equal deleted inserted replaced
3816:7216192a9de5 3821:8731f4bf0704
82 82
83 backgroundClient = os.path.join( 83 backgroundClient = os.path.join(
84 getConfig('ericDir'), 84 getConfig('ericDir'),
85 "Utilities", "BackgroundClient.py") 85 "Utilities", "BackgroundClient.py")
86 proc = QProcess() 86 proc = QProcess()
87 proc.setProcessChannelMode(QProcess.ForwardedChannels)
87 args = [backgroundClient, self.hostAddress, str(port)] 88 args = [backgroundClient, self.hostAddress, str(port)]
88 proc.start(interpreter, args) 89 proc.start(interpreter, args)
89 if not proc.waitForStarted(10000): 90 if not proc.waitForStarted(10000):
90 proc = None 91 proc = None
91 return proc 92 return proc

eric ide

mercurial