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 |