问题描述

  • Vscode 终端启动失败,报错:A native exception occurred during launch (Cannot create process, error code: 740)。

原因分析:

在 Vscode 设置中terminal.integrated.automationProfile.windows设置CMD路径错误,导致启动不了终端。


解决方案:

在 Vscode 中设置中搜索 terminal.integrated.automationProfile.windows
填写如下路径:

1697111433784-2023-10-1219:50:34.png

	"path": "C:\\Windows\\System32\\cmd.exe"

在这里插入图片描述

Logo

腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

更多推荐