Windows 10 Subsystem: bash.exe not found.
-
Hi,
I’ve installed the Ubuntu Bash on Windows 10 and it’s works just fine.
Not I’m trying to run my scripts directly from Notepadd++ using:C:\Windows\System32\bash.exe -c “~/.local/bin/ansible-playbook -k /mnt/c/playbook/$(FILE_NAME)”
I’m able to run this command from prompt without any problems, but when I try to Run from Notepadd++ it says it can’t find the file “bash.exe”.
Does anyone already tried to do something similar ?
Any ideas ?
Thanks
-
My idea is that you’re using 32b NPP in 64b windows, so you’re getting the system32 vs syswow64 windows-lies-to-you (excuse me, File System Redirector).
If you are in 32b NPP (
? > Debug Infowill sayNotepad++ v7.5.6 (32-bit)), then try runningc:\windows\sysnative\bash.exe ...instead.If that’s not it, please supply the Debug Info, along with other information that might be relevant to help us debug your problem.
-
Hi Peter,
Indeed I was running 32bit.I just updated it to 64bit and NPP now find the bash.exe on the dir %WINDIR%\System32 with no problem.
Thank you for the help.
Halley
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login