mirror of
git://source.winehq.org/git/wine.git
synced 2024-07-22 17:34:09 +00:00
mscoree/tests: Use wait_child_process for csc process.
Signed-off-by: Esme Povirk <esme@codeweavers.com>
This commit is contained in:
parent
230e953e31
commit
a6f924f3b8
|
@ -94,7 +94,7 @@ static BOOL compile_cs_to_dll(char *source_path, char *dest_path)
|
||||||
ret = CreateProcessA(path_csc, cmdline, NULL, NULL, FALSE, 0, NULL, NULL, &si, &pi);
|
ret = CreateProcessA(path_csc, cmdline, NULL, NULL, FALSE, 0, NULL, NULL, &si, &pi);
|
||||||
ok(ret, "Could not create process: %lu\n", GetLastError());
|
ok(ret, "Could not create process: %lu\n", GetLastError());
|
||||||
|
|
||||||
WaitForSingleObject(pi.hProcess, 5000);
|
wait_child_process(pi.hProcess);
|
||||||
CloseHandle(pi.hThread);
|
CloseHandle(pi.hThread);
|
||||||
CloseHandle(pi.hProcess);
|
CloseHandle(pi.hProcess);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue