在setting.json中添加下面一行就可以解决(针对windows)。
"terminal.integrated.shell.windows": "C:\\\\windows\\\\System32\\\\cmd.exe",可通过设置页面点击某项配置进入setting.json文件。
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文件。