Whenever I open integrated terminal in VS code 1.18, it crashes PowerShell

Viewed 1284

Even though I have set below code in setting.json:

"terminal.integrated.shell.windows": "C:\\Program Files\\Git\\bin\\bash.exe"

Whenever I open the "integrated terminal" it starts and right away shows:

"The terminal process terminated with exit code: 259"

There is also a dialog outside code saying:

"powershell has stopped working
A problem caused the program to stop working correctly. 
Windows will close the program and notify you if a solution is available."

this happens in 32bit and 64bit too

Any idea how to overcome this?

1 Answers

The code 259 usually means STILL_ACTIVE and this is rather strange. You may try to use ProcessMonitor to determine which processes are started during your call and perhaps that gives you a clue.

Open Task Manager I Clicked on End Task on all process of VS Code

Error vanished

Related