简体   繁体   中英

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

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?

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

It is all due to virus effected Program .Which is running in background Applications.
Open your Task Manager & End all the Tasks which are running in background.


OR

Visit this link to get exact solution. https://webautomationtool.blogspot.com/2021/01/the-terminal-process.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM