summaryrefslogtreecommitdiffstats
path: root/PC/launcher.c
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2013-01-25 13:25:48 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2013-01-25 13:25:48 (GMT)
commitb26a9b10ea5f095da0c699e41b29a724021cd09a (patch)
tree16bc11c938232612a40e511950e5f2b5843563c7 /PC/launcher.c
parent3f50bf652bae5e3371972eb261973238c62cc17b (diff)
downloadcpython-b26a9b10ea5f095da0c699e41b29a724021cd09a.zip
cpython-b26a9b10ea5f095da0c699e41b29a724021cd09a.tar.gz
cpython-b26a9b10ea5f095da0c699e41b29a724021cd09a.tar.bz2
Replace WaitForSingleObject with WaitForSingleObjectEx,
for better WinRT compatibility.
Diffstat (limited to 'PC/launcher.c')
-rw-r--r--PC/launcher.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/PC/launcher.c b/PC/launcher.c
index dfad44a..df2580b 100644
--- a/PC/launcher.c
+++ b/PC/launcher.c
@@ -535,7 +535,7 @@ run_child(wchar_t * cmdline)
error(RC_CREATE_PROCESS, L"Unable to create process using '%s'", cmdline);
AssignProcessToJobObject(job, pi.hProcess);
CloseHandle(pi.hThread);
- WaitForSingleObject(pi.hProcess, INFINITE);
+ WaitForSingleObjectEx(pi.hProcess, INFINITE, FALSE);
ok = GetExitCodeProcess(pi.hProcess, &rc);
if (!ok)
error(RC_CREATE_PROCESS, L"Failed to get exit code of process");