-
-
Notifications
You must be signed in to change notification settings - Fork 140
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
Issue: Nano and vim executables get stuck when opened with gsudo on cmd #302
Comments
I don't know what is the root cause of the problem, but here is a workaround that will add the Please run:
Thank you. |
Please don't close the issue. I'll close it after, at least, adding |
Ok, thanks a lot, that works |
How have you installed vim and nano on windows? using a windows installer? using git-bash? |
They are both installed from the msys2 project (https://www.msys2.org/) and are located in the |
Issue Description
When I try to execute nano or vim from msys2 (yes, these programs are added to my PATH) with privileges on cmd they get stuck, this doesn't happen on powershell:
Steps to Reproduce
gsudo nano
orgsudo vim
Screenshots
This issue doesn't get solved using --direct mode, the only way to make this work is executing:
gsudo cmd /c nano
gsudo cmd /c vim
It would be useful to execute them directly with gsudo, so I'll thank you if you'll give it some solution
Context:
The text was updated successfully, but these errors were encountered: