-1

The terminal process failed to launch: Path to shell executable "C:\Program Files\Git\bin\bash.exe" does not exist.

  • You could also install "Git for Windows". https://git-scm.com/download/win – froggythefrog Sep 19 '20 at 19:58
  • Does this answer your question? [How do I use Bash on Windows from the Visual Studio Code integrated terminal?](https://stackoverflow.com/questions/42606837/how-do-i-use-bash-on-windows-from-the-visual-studio-code-integrated-terminal) – Gino Mempin Feb 20 '21 at 06:27

2 Answers2

0

I found the answer to this issue. We need to go to settings.json file edit it to "terminal.integrated.shell.windows": "C:\Windows\System32\cmd.exe"

You can also follow below link : https://code.visualstudio.com/docs/editor/integrated-terminal

Below is the screenshot of the same

enter image description here

0

Change your terminal path with following steps:

  1. Go to shortcuts-search with Cntr + Shift + p
  2. Search for default
  3. Click on Terminal: Select Default Shell
  4. Select path of your favorite shell available on your system.
Mahesh Ghamaand
  • 410
  • 1
  • 3
  • 11