这个问题重新安装VSCode,或者删掉json关联的文件都可能解决,下面分享我的亲测方法,比较简单。

VSCode:The terminal process command 'C:\Windows\system32\cmd.exe' failed to launch (exit code: {2})

那个窗窗在我设置杀毒软件免打扰后就不会有了,但下次再开着杀毒软件就会这样:
在这里插入图片描述
管理员模式运行VSCode也会这样。

terminal
The new Windows Terminal and the original Windows console host, all in the same place!

亲测解决

我把我的杀毒软件360重装了,就好了。

GitHub 加速计划 / term / terminal
8
0
下载
The new Windows Terminal and the original Windows console host, all in the same place!
最近提交(Master分支:5 个月前 )
b8ff95d6 - Remove duplicated entries. - Fix whitespace. Co-authored-by: João Guerra <joca-bt@users.noreply.github.com> 6 天前
f28f6587 11 天前
Logo

旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐