mscoree/tests: Create csc.exe process as detached.

Signed-off-by: Esme Povirk <esme@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Esme Povirk 2022-04-04 14:26:43 -05:00 committed by Alexandre Julliard
parent d971600cae
commit c943f924cb
1 changed files with 1 additions and 1 deletions

View File

@ -580,7 +580,7 @@ static BOOL compile_cs(const WCHAR *source, const WCHAR *target, const WCHAR *ty
swprintf(cmdline, ARRAY_SIZE(cmdline), L"%s /t:%s %s /out:\"%s\" \"%s\"", csc, type, args, target, source);
si.cb = sizeof(si);
ret = CreateProcessW(csc, cmdline, NULL, NULL, FALSE, 0, NULL, NULL, &si, &pi);
ret = CreateProcessW(csc, cmdline, NULL, NULL, FALSE, DETACHED_PROCESS, NULL, NULL, &si, &pi);
ok(ret, "Could not create process: %lu\n", GetLastError());
wait_child_process(pi.hProcess);