aboutsummaryrefslogtreecommitdiff
path: root/src/engine/pipe.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/engine/pipe.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/pipe.cpp b/src/engine/pipe.cpp
index 67eeae87..47963e9d 100644
--- a/src/engine/pipe.cpp
+++ b/src/engine/pipe.cpp
@@ -401,7 +401,7 @@ extern "C" HRESULT PipeLaunchChildProcess(
401 401
402 // Since ShellExecuteEx doesn't support passing inherited handles, don't bother with CoreAppendFileHandleSelfToCommandLine. 402 // Since ShellExecuteEx doesn't support passing inherited handles, don't bother with CoreAppendFileHandleSelfToCommandLine.
403 // We could fallback to using ::DuplicateHandle to inject the file handle later if necessary. 403 // We could fallback to using ::DuplicateHandle to inject the file handle later if necessary.
404 hr = ShelExec(wzExecutablePath, sczParameters, wzVerb, NULL, SW_HIDE, hwndParent, &hProcess); 404 hr = ShelExec(wzExecutablePath, sczParameters, wzVerb, NULL, SW_SHOWNA, hwndParent, &hProcess);
405 ExitOnFailure(hr, "Failed to launch elevated child process: %ls", wzExecutablePath); 405 ExitOnFailure(hr, "Failed to launch elevated child process: %ls", wzExecutablePath);
406 406
407 pConnection->dwProcessId = ::GetProcessId(hProcess); 407 pConnection->dwProcessId = ::GetProcessId(hProcess);