sudo
sudo copied to clipboard
Please support `-s`/`--shell` (run a shell)
sudo
for Linux supports -s
/--shell
to run a shell as the target user. Please consider supporting the same option, as a shorthand for sudo cmd
.
sudo.ps1
could check for this option and handle it so that it's a shorthand for starting powershell via sudo instead, so that people running sudo -s
from cmd get cmd, and people running sudo -s
from powershell get powershell.
Thanks for the feedback - this seems like reasonable functionality for us to investigate. Removing the needs-triage label for now.