Skip to content
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

Feature: Force NewWindow + New window --NoClose & Shell --NoExit #190

Merged
merged 4 commits into from
Oct 23, 2022

Conversation

gerardog
Copy link
Owner

Features:

  • Added setting gsudo config NewWindow.Force to force every elevation in new window. Same as using -n every time.

  • Added --NoExit: Keep elevated shell open after running {command}.

  • Added --NoClose: When in new console, ask for keypress before closing the console.

  • Added setting gsudo config NewWindow.CloseBehaviour: OsDefault, KeepShellOpen (--NoExit), PressKeyToClose(--NoClose)

  • Config syntax more relaxed now:

gsudo.exe config loglevel debug
gsudo.exe config loglevel=debug
gsudo.exe config loglevel="debug"
gsudo.exe config loglevel =  debug

```
gsudo.exe config loglevel debug
gsudo.exe config loglevel=debug
gsudo.exe config loglevel="debug"
gsudo.exe config loglevel =  debug
```
- Added setting `gsudo config NewWindow.Force` to force every elevation in new window. Same as using `-n` every time.
- Added `--NoExit`: Keep elevated shell open after running {command}.
- Added `--NoClose`: When in new console, ask for keypress before closing the console.
- Added setting `gsudo config NewWindow.CloseBehaviour`: `OsDefault`, `KeepShellOpen` (--NoExit), PressKeyToClose(--NoClose)
@gerardog gerardog merged commit fa16ab2 into master Oct 23, 2022
@gerardog
Copy link
Owner Author

gerardog commented Nov 4, 2022

Tentatively renaming --NoClose and --NoExit to --KeepWindow and --KeepShell

@gerardog gerardog deleted the Feature.ForceNewWindow branch March 4, 2023 00:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant