Hi Eric,
On 2/17/22 10:10, Eric Pouech wrote:
- sprintf(buf, ""%s" console check_console", exec);
- res = CreateProcessA(NULL, buf, NULL, NULL, FALSE, flags, NULL, NULL, &si, &info);
- ok(res, "CreateProcess failed: %u %s\n", GetLastError(), buf);
- CloseHandle(info.hThread);
- ret = WaitForSingleObject(info.hProcess, 30000);
- ok(ret == WAIT_OBJECT_0, "Could not wait for the child process: %d le=%u\n",
(UINT)ret, (UINT)GetLastError());
Those casts are not needed.
Thanks,
Jacek