-
Notifications
You must be signed in to change notification settings - Fork 8.4k
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
start wt.exe with parameter fails in administrator mode #14861
Comments
Welp. Okay that's wacky, unexpected, and tricky to resolve.
This one's tricky. We basically need to pick something sensible to happen here. The argument could probably go either way:
I'd lean towards the second. Does that make sense to you @Matzeeee? In that case, we'd want to modify |
I expected the terminal to start elevated and then execute the command. |
You know, we might be able to something like #15286 for this. Pre-evaluate the actual commandline, given the NewTerminalArgs, and pass that in to elevate-shim. I'd worry about escaping that commandline though. That'd be scary. |
will this ever be fixed? |
It seems it partially was fixed: I'll keep this tab open and look into it after the holidays. |
Windows Terminal version
1.16.230126001
Windows build number
10.0.19045.2604
Other Software
No response
Steps to reproduce
Open cmd.exe and type "wt ping google.de".
Expected Behavior
Open wt with cmd.exe and execute "ping google.de".
Actual Behavior
If wt runs with option "run profile as administrator" cmd.exe opens but parameter (ping google.de) is not executed.
The text was updated successfully, but these errors were encountered: