-
-
Notifications
You must be signed in to change notification settings - Fork 129
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
Release v1.0 draft. #94
Conversation
To try it, please open a CMD as administrator, then: (then do Please, be sure gsudo is not running or else the update will fail. Any issues? leave feedback below or page me on twitter @gerardo_gr |
The new syntax is documented here: |
We can also chat on gitter: https://gitter.im/gsudo/community |
This is a big milestone. Let's take some time, to let early adopters (maybe you?) test it.
Features
"
to\"
). Now most commands can be elevated by prepending 'gsudo'.For example:
Feature: Improve elevation of WSL commands #55: [BREAKING CHANGE] Now prepend
gsudo
(.exe
now optional) to elevate WSL commands, or usegsudo -d {cmd}
to elevate CMD commands.Feature: Add an option to bypass shell wrapper #80 Added
-d/--direct
to bypass the shell wrapper (i.e. powershell/bash/wsl) and treat the command to elevate as a Windows / CMD app.For example in
gsudo -d notepad C:\file.txt
launched frompowershell
(orwsl
orgit-bash/MinGW
, for that matter) the-d
indicates it is not a PS command, so gsudo doesn't need to launch a new PS instance (notepad
is not a PS command, and there is no need to resolve it using PS aliases), and just let it find and launchnotepad.exe
from the path. It is also faster because launchingpowershell
is slow on some systems.Fixes
Issue: Self-Elevation Breaks if Path Contains Spaces #62 + duplicate Issue: Can't configure cache mode #93
Issue: Microsoft Store Apps fail to elevate if command line has quotes #78
Issue: cmd line title on elevation / deelevation #91 Removed
Administrator:
prefix from console title on de-elevations.Issue: gsudo launches a 64 bit cmd when ran in a 32-bit cmd (on x64) #92
'Process exited with code' message now only shown in Debug mode