Navigation

    Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Windows 10 Subsystem: bash.exe not found.

    Help wanted · · · – – – · · ·
    2
    3
    2354
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Halley Souza
      Halley Souza last edited by

      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

      1 Reply Last reply Reply Quote 0
      • PeterJones
        PeterJones last edited by

        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 Info will say Notepad++ v7.5.6 (32-bit)), then try running c:\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.

        1 Reply Last reply Reply Quote 4
        • Halley Souza
          Halley Souza last edited by

          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

          1 Reply Last reply Reply Quote 1
          • First post
            Last post
          Copyright © 2014 NodeBB Forums | Contributors