-
Notifications
You must be signed in to change notification settings - Fork 247
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
One weird trick to get sudo
on Windows 10... you'll never eat bananas again!
#42
Comments
Hmm... after reading further I'm not sure if that's actually a great solution due to issues with handling multiple arguments, spaces in PATH, etc. I'll have to try it out to know for sure. Here's another idea: The problem there being:
|
Okay, I tried https://stackoverflow.com/a/55643173/151312, and it worked, although with a UAC prompt rather than a password prompt.
@echo off
powershell -Command "Start-Process cmd -Verb RunAs -ArgumentList '/c cd /d %CD% && %*'"
@echo on It also opens up a new cmd.exe window and this disappears. Though... it seems to work. sudo.cmd dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart |
Re: #699 (comment) |
Check this out!!
https://stackoverflow.com/a/40321310/151312
I definitely want to add that to
webi
.@ryanburnette This brings up the issue that we do need a way to have non-mac/non-linux (meaning Windows 10 only) installer pages.
The text was updated successfully, but these errors were encountered: