-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
windows: support launching executables with runas permissions #4295
Labels
Comments
vtjnash
changed the title
support launching executables with runas permissions
windows: support launching executables with runas permissions
Jan 31, 2024
I'll take this one, BTW, |
Figuring out what flags are mapped or which are disallowed would be necessary, yes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Calling UAC applications requires a complicated, undocumented RPC call, or using the
runas
verb to ShellExecuteEx to do that for the program. Perhaps this should be a flag touv_spawn
, so that users can run processes such asregedit.exe
andsetup.exe
(after clicking on the UAC prompt) with libuv, without requiring workarounds such ascmd /c regedit
, which will run the ShellExecute function verb "open"? See https://learn.microsoft.com/en-us/windows/win32/shell/launchThe text was updated successfully, but these errors were encountered: