Utilities/BackgroundService.py

changeset 4566
a2e8f3c420ec
parent 4544
5145cf800bb0
child 4631
5c1a96925da4
equal deleted inserted replaced
4564:a6480863adfb 4566:a2e8f3c420ec
58 58
59 self.newConnection.connect(self.on_newConnection) 59 self.newConnection.connect(self.on_newConnection)
60 60
61 port = self.serverPort() 61 port = self.serverPort()
62 ## Note: Need the port if started external in debugger: 62 ## Note: Need the port if started external in debugger:
63 print('BackgroundService listening on: {0:d}'.format(port)) 63 print('BackgroundService listening on: {0:d}'.format(port)) # __IGNORE_WARNING__
64 for pyName in ['Python', 'Python3']: 64 for pyName in ['Python', 'Python3']:
65 interpreter = Preferences.getDebugger( 65 interpreter = Preferences.getDebugger(
66 pyName + "Interpreter") 66 pyName + "Interpreter")
67 process = self.__startExternalClient(interpreter, port) 67 process = self.__startExternalClient(interpreter, port)
68 if process: 68 if process:

eric ide

mercurial