Package list python-procrunner / de69981
Address Windows pipe error message Markus Gerstel 1 year, 6 months ago
1 changed file(s) with 3 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
456456 # which could indicate that the process has terminated.
457457 try:
458458 event = thread_pipe_pool[0].poll(0.5)
459 except IOError as e:
460 # on Windows this raises "IOError: [Errno 109] The pipe has been ended"
459 except BrokenPipeError as e:
460 # on Windows this raises "BrokenPipeError: [Errno 109] The pipe has been ended"
461461 # which is for all intents and purposes equivalent to a True return value.
462 if e.errno != 109:
462 if e.winerror != 109:
463463 raise
464464 event = True
465465 if event: