Commit b303580c authored by Richard Oudkerk's avatar Richard Oudkerk

Issue #15525: Increase timeout when TerminateProcess() fails

parent c86e8d9c
......@@ -273,8 +273,8 @@ else:
if self.returncode is None:
try:
_winapi.TerminateProcess(int(self._handle), TERMINATE)
except WindowsError:
if self.wait(timeout=0.1) is None:
except OSError:
if self.wait(timeout=1.0) is None:
raise
#
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment