241 proc = None |
241 proc = None |
242 |
242 |
243 if idString: |
243 if idString: |
244 self.__clientProcesses[idString] = proc |
244 self.__clientProcesses[idString] = proc |
245 # wait until the client has connected (= slow start) |
245 # wait until the client has connected (= slow start) |
246 while not idString in self.__connections: |
246 while idString not in self.__connections: |
247 QCoreApplication.processEvents() |
247 QCoreApplication.processEvents() |
248 else: |
248 else: |
249 self.__clientProcess = proc |
249 self.__clientProcess = proc |
250 |
250 |
251 return proc is not None |
251 return proc is not None |