每当我在VS代码1.18中打开集成终端时,它都会崩溃PowerShell

问题描述 投票:3回答:1

即使我在setting.json中设置了以下代码:

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

只要打开“集成终端”,它就会启动并立即显示:

"The terminal process terminated with exit code: 259"

[在代码外也有一个对话框说:

"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."

也发生在32位和64位中

任何想法如何克服这个问题?

powershell visual-studio-code
1个回答
0
投票

代码259通常表示STILL_ACTIVE,这很奇怪。您可以尝试使用ProcessMonitor来确定在呼叫过程中启动了哪些进程,这也许可以为您提供线索。

打开任务管理器我在VS Code的所有过程中单击了“结束任务”

错误消失

© www.soinside.com 2019 - 2024. All rights reserved.