Skip to content

Commit

Permalink
Remove SEE_MASK_WAITFORINPUTIDLE
Browse files Browse the repository at this point in the history
Co-authored-by: Jameson Nash <[email protected]>
  • Loading branch information
CGQAQ and vtjnash committed Feb 6, 2024
1 parent c2fc6a8 commit 8e772bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/win/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -1069,7 +1069,7 @@ int uv_spawn(uv_loop_t* loop,

if (options->flags & UV_PROCESS_WINDOWS_RUNAS_ADMIN) {
shellexecuteinfo.cbSize = sizeof(SHELLEXECUTEINFOW);
shellexecuteinfo.fMask = fMask | SEE_MASK_WAITFORINPUTIDLE | SEE_MASK_NOCLOSEPROCESS; // for shellexecuteinfo.hProcess
shellexecuteinfo.fMask = fMask | SEE_MASK_NOCLOSEPROCESS; // for shellexecuteinfo.hProcess
shellexecuteinfo.lpVerb = L"runas";
shellexecuteinfo.lpFile = application_path;
shellexecuteinfo.lpParameters = arguments;
Expand Down

0 comments on commit 8e772bd

Please sign in to comment.