vscode无法打开Terminal终端
现象
打开终端窗口就报错如下
The terminal process failed to launch: A native exception occurred during launch (Cannot launch conpty).
环境
操作系统: Win7 (补丁没打全,基本是需要的才打)
VxKex版本: KexSetup_Release_1_1_2_1439.exe
VScode版本: 1.93.1
原因
应该是win7没有conpty这个东西,好像是什么终端子系统
解决
去配置文件里添加如下代码即可
"terminal.integrated.gpuAcceleration": "off",
"terminal.integrated.windowsEnableConpty": false,
"terminal.integrated.defaultProfile.windows": "Command Prompt",