We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The workaround for microsoft store apps #65 fails with quoted parameters:
Fails:
C:\Users\Gerardo>gsudo --debug wt.exe -d "C:\users" Debug: Workaround for target app installed via MSStore. Debug: IsWindowsApp("C:\WINDOWS\system32\cmd.exe") = False ("C:\WINDOWS\system32\cmd.exe") Debug: Command to run: C:\WINDOWS\system32\cmd.exe /c "C:\Users\GerardoGrignoli\AppData\Local\Microsoft\WindowsApps\wt.exe" -d "C:\users" Debug: Using Console mode TokenSwitch Debug: Caller PID: 19716 Debug: Found Named Pipe "ProtectedPrefix\Administrators\gsudo_C98FB45B2A1733E24C9D356480E0E9FB01E2634EC79D32AC1BDE04AF90B24567". Debug: Connected via Named Pipe ProtectedPrefix\Administrators\gsudo_C98FB45B2A1733E24C9D356480E0E9FB01E2634EC79D32AC1BDE04AF90B24567. Debug: CreateProcessAsUser: C:\WINDOWS\system32\cmd.exe /c "C:\Users\GerardoGrignoli\AppData\Local\Microsoft\WindowsApps\wt.exe" -d "C:\users" Debug: ElevationRequest length 875 Debug: Process token successfully substituted. The filename, directory name, or volume label syntax is incorrect. Debug: Process exited with code 1
Success:
C:\Users\Gerardo>gsudo --debug cmd /c wt.exe -d "C:\users" Debug: IsWindowsApp(""C:\WINDOWS\system32\cmd.EXE"") = False ("C:\WINDOWS\system32\cmd.EXE") Debug: Command to run: "C:\WINDOWS\system32\cmd.EXE" /c wt.exe -d "C:\users" Debug: Using Console mode TokenSwitch Debug: Caller PID: 19716 Debug: Found Named Pipe "ProtectedPrefix\Administrators\gsudo_C98FB45B2A1733E24C9D356480E0E9FB01E2634EC79D32AC1BDE04AF90B24567". Debug: Connected via Named Pipe ProtectedPrefix\Administrators\gsudo_C98FB45B2A1733E24C9D356480E0E9FB01E2634EC79D32AC1BDE04AF90B24567. Debug: CreateProcessAsUser: "C:\WINDOWS\system32\cmd.EXE" /c wt.exe -d "C:\users" Debug: ElevationRequest length 814 Debug: Process token successfully substituted. Debug: Process exited with code 0
The text was updated successfully, but these errors were encountered:
Fix #78: Microsoft Store Apps fail to elevate if command line has quotes
20e174b
ac13279
1d81d28
No branches or pull requests
Issue Description
The workaround for microsoft store apps #65 fails with quoted parameters:
Fails:
Success:
Context:
The text was updated successfully, but these errors were encountered: