Vscode 打开终端提示 a native exception occurred during launch(unable to start terminal process: createprocess failed)

ppylox
·3/23/2021·0 阅读
AI 摘要模型根据正文自动生成,仅供参考

VS Code 打开终端时报错“a native exception occurred during launch(unable to start terminal process: createprocess failed)”,在 Windows 下的解决方法是:在 setting.json 中添加配置 "terminal.integrated.shell.windows": "C:\\windows\\System32\\cmd.exe",指定 cmd.exe 作为集成终端 shell。可通过设置页面点击某项配置进入 setting.json 文件进行修改。

在setting.json中添加下面一行就可以解决(针对windows)。

"terminal.integrated.shell.windows": "C:\\\\windows\\\\System32\\\\cmd.exe",

可通过设置页面点击某项配置进入setting.json文件。

相关文章

评论 (0)

暂无评论,来写第一条吧