Utilities/BackgroundService.py

changeset 4544
5145cf800bb0
parent 4236
8d4e498a7af8
child 4566
a2e8f3c420ec
equal deleted inserted replaced
4543:2e6a880670e9 4544:5145cf800bb0
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: %i' % port) 63 print('BackgroundService listening on: {0:d}'.format(port))
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