Utilities/BackgroundService.py

changeset 3538
33a75660df08
parent 3505
84e7cee47d10
child 3579
eccd12461319
equal deleted inserted replaced
3537:7662053c3906 3538:33a75660df08
53 self.listen(QHostAddress(self.hostAddress)) 53 self.listen(QHostAddress(self.hostAddress))
54 54
55 self.newConnection.connect(self.on_newConnection) 55 self.newConnection.connect(self.on_newConnection)
56 56
57 port = self.serverPort() 57 port = self.serverPort()
58 ## NOTE: Need the port if started external in debugger: 58 ## Note: Need the port if started external in debugger:
59 print('BackgroundService listening on: %i' % port) 59 print('BackgroundService listening on: %i' % port)
60 for pyName in ['Python', 'Python3']: 60 for pyName in ['Python', 'Python3']:
61 interpreter = Preferences.getDebugger( 61 interpreter = Preferences.getDebugger(
62 pyName + "Interpreter") 62 pyName + "Interpreter")
63 process = self.__startExternalClient(interpreter, port) 63 process = self.__startExternalClient(interpreter, port)

eric ide

mercurial