#6383 Switch to Unix line endings
This commit is contained in:
parent
acecfef949
commit
8d2ca0b36f
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue