From: Thibaut Cuvelier Date: Sun, 6 Feb 2022 04:35:07 +0000 (+0100) Subject: Amend 109ea2be4a21ca93d22ab25703b3352a50fbbe3b X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=1eb19cb8e3835fceb658bc5e4ac5264641cb7b5d;p=features.git Amend 109ea2be4a21ca93d22ab25703b3352a50fbbe3b The Windows code wasn't adapted when a variable was renamed (unlike the Linux one). --- 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;