" The terminal process failed to launch: path to shell executable "C:\\Program Files\\Git\\bin\\bash.exe" does not exits.....Error while integrating Visual Studio Code with Git bash

If you are getting below Error while integrating Visual Studio Code with Git bash please check below steps it might help you to resolve issue.


Reason is that the bash.exe is not available at "C:\\Program Files\\Git\\bin\\bash.exe".

Sometimes it saves in AppData folder of our user profile, so you just need to find below path in your profile in c drive as below:

(Note - AppData folder might be hidden, so just click on view tab and look for hidden items and check the box then it will show appdata folder)

C:\Users\TED2\AppData\Local\Programs\Git\bin

Note- Now use just have to add bash.exe at the end

Now it should look like this( Also add one more \ as below)

"C:\\Users\\TED2\\AppData\\Local\\Programs\\Git\bin\\bash.exe" 

Now close visual studio and reopen 

it will now work , please find below snap.


Comments

  1. I did this , but was not able to interogate with bash. Its still saying the same . please help me out !!!!!!!

    ReplyDelete
    Replies
    1. Did u find the path of bash.exe?...if not then simply search bash.exe in windows search and then right click on it ..after that click on open file location ...then you will get the path of bash.exe....use that path and try.....Thanks!!!!

      Delete

Post a Comment