eric pouech (@epo) commented about dlls/kernelbase/tests/process.c:
ok( cycles2 > cycles1, "CPU cycles used by process should be increasing.\n" ); }
+static void test_CreateProcessInternalW(void) +{ + STARTUPINFOW si; + PROCESS_INFORMATION pi; + WCHAR cmd[] = L"\"c:\\windows\\system32\\tasklist \" /?"; + BOOL ret; + + ZeroMemory(&pi, sizeof(pi)); + ZeroMemory(&si, sizeof(si)); + si.cb = sizeof(si); + + ret = CreateProcessInternalW(NULL, NULL, (LPWSTR)cmd, NULL, NULL, FALSE, + CREATE_NO_WINDOW | DETACHED_PROCESS,
CREATE_NO_WINDOW and DETACHED_PROCESS are orthogonal; you can pick up either one (DETACHED_PROCESS is less hungry on resources though) -- https://gitlab.winehq.org/wine/wine/-/merge_requests/9882#note_127030