簡體   English   中英

每當我在 VS 代碼 1.18 中打開集成終端時,它都會使 PowerShell 崩潰

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

即使我在 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 位

知道如何克服這個嗎?

代碼 259 通常表示 STILL_ACTIVE,這很奇怪。 您可以嘗試使用 ProcessMonitor 來確定在您的通話期間啟動了哪些進程,這或許可以為您提供線索。

打開任務管理器我在 VS Code 的所有進程上單擊了結束任務

錯誤消失

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

訪問此鏈接以獲得確切的解決方案。 https://webautomationtool.blogspot.com/2021/01/the-terminal-process.html

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM