From 1eb19cb8e3835fceb658bc5e4ac5264641cb7b5d Mon Sep 17 00:00:00 2001 From: Thibaut Cuvelier Date: Sun, 6 Feb 2022 05:35:07 +0100 Subject: [PATCH] Amend 109ea2be4a21ca93d22ab25703b3352a50fbbe3b The Windows code wasn't adapted when a variable was renamed (unlike the Linux one). --- src/support/ForkedCalls.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/support/ForkedCalls.cpp b/src/support/ForkedCalls.cpp index f0b2c7efc1..e770c4df68 100644 --- a/src/support/ForkedCalls.cpp +++ b/src/support/ForkedCalls.cpp @@ -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;