The Windows code wasn't adapted when a variable was renamed (unlike the Linux one).
This commit is contained in:
Thibaut Cuvelier 2022-02-06 05:35:07 +01:00
parent 0370cc428c
commit 1eb19cb8e3

View File

@ -408,7 +408,7 @@ int ForkedCall::generateChild()
startup.cb = sizeof(STARTUPINFO);
if (CreateProcess(0, (LPSTR)line.c_str(), 0, 0, FALSE,
if (CreateProcess(0, (LPSTR)command_.c_str(), 0, 0, FALSE,
CREATE_NO_WINDOW, 0, 0, &startup, &process)) {
CloseHandle(process.hThread);
cpid = (pid_t)process.hProcess;