mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-16 11:48:06 +01:00
runner: only launch update threads when we know we won't be elevated and show windows for the child (#1537)
This commit is contained in:
@@ -442,6 +442,7 @@ bool run_elevated(const std::wstring& file, const std::wstring& params)
|
||||
exec_info.fMask = SEE_MASK_NOCLOSEPROCESS;
|
||||
exec_info.lpDirectory = 0;
|
||||
exec_info.hInstApp = 0;
|
||||
exec_info.nShow = SW_SHOWDEFAULT;
|
||||
|
||||
if (ShellExecuteExW(&exec_info))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user