#6383 Switch to Unix line endings

This commit is contained in:
Nick Bolton 2018-08-07 10:18:22 +01:00
parent acecfef949
commit 8d2ca0b36f
1 changed files with 6 additions and 6 deletions

View File

@ -371,11 +371,11 @@ MSWindowsWatchdog::startProcessInForeground(String& command)
// show the console window when in foreground mode,
// so we can close it gracefully, but minimize it
// so it doesn't get in the way.
STARTUPINFO si;
setStartupInfo(si);
si.dwFlags |= STARTF_USESHOWWINDOW;
si.wShowWindow = SW_MINIMIZE;
STARTUPINFO si;
setStartupInfo(si);
si.dwFlags |= STARTF_USESHOWWINDOW;
si.wShowWindow = SW_MINIMIZE;
return CreateProcess(
NULL, LPSTR(command.c_str()), NULL, NULL,
TRUE, 0, NULL, NULL, &si, &m_processInfo);
@ -387,7 +387,7 @@ MSWindowsWatchdog::startProcessAsUser(String& command, HANDLE userToken, LPSECUR
// clear, as we're reusing process info struct
ZeroMemory(&m_processInfo, sizeof(PROCESS_INFORMATION));
STARTUPINFO si;
STARTUPINFO si;
setStartupInfo(si);
LPVOID environment;