eric7/EricNetwork/EricJsonServer.py

branch
eric7
changeset 8943
23f9c7b9e18e
parent 8936
dca47d2dde1c
child 9057
ddc46e93ccc4
equal deleted inserted replaced
8940:e91951ff3bbd 8943:23f9c7b9e18e
272 timer.start(1000) # 1s timeout 272 timer.start(1000) # 1s timeout
273 while timer.isActive(): 273 while timer.isActive():
274 # check if client exited prematurely 274 # check if client exited prematurely
275 QCoreApplication.processEvents( 275 QCoreApplication.processEvents(
276 QEventLoop.ProcessEventsFlag.ExcludeUserInputEvents) 276 QEventLoop.ProcessEventsFlag.ExcludeUserInputEvents)
277 QThread.msleep(100)
277 if proc.state() == QProcess.ProcessState.NotRunning: 278 if proc.state() == QProcess.ProcessState.NotRunning:
278 exitCode = proc.exitCode() 279 exitCode = proc.exitCode()
279 proc = None 280 proc = None
280 break 281 break
281 self.__clientProcess = proc 282 self.__clientProcess = proc

eric ide

mercurial