Esme Povirk : mscoree/tests: Create csc.exe process as detached.
Alexandre Julliard
julliard at winehq.org
Tue Apr 5 15:39:44 CDT 2022
Module: wine
Branch: master
Commit: c943f924cb10fe522b0b932137a2cd9f74349e9c
URL: https://source.winehq.org/git/wine.git/?a=commit;h=c943f924cb10fe522b0b932137a2cd9f74349e9c
Author: Esme Povirk <esme at codeweavers.com>
Date: Mon Apr 4 14:26:43 2022 -0500
mscoree/tests: Create csc.exe process as detached.
Signed-off-by: Esme Povirk <esme at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/mscoree/tests/mscoree.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/mscoree/tests/mscoree.c b/dlls/mscoree/tests/mscoree.c
index a2bb3449839..7da40d92887 100644
--- a/dlls/mscoree/tests/mscoree.c
+++ b/dlls/mscoree/tests/mscoree.c
@@ -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);
More information about the wine-cvs
mailing list