Import ctypes.wintypes explicitly to avoid a python exception when child processes get hung.

This commit is contained in:
Benjamin Smedberg
2010-01-08 15:52:37 -05:00
parent 672e4586b5
commit 95b53f20fd

View File

@@ -455,7 +455,7 @@ def environment(env = None, xrePath = DIST_BIN, crashreporter = True):
return env
if IS_WIN32:
import ctypes, time, msvcrt
import ctypes, ctypes.wintypes, time, msvcrt
PeekNamedPipe = ctypes.windll.kernel32.PeekNamedPipe
GetLastError = ctypes.windll.kernel32.GetLastError