Home >Development Tools >VSCode >What should I do if vscode cannot open the terminal?
打开终端一片空白不能输入,用管理员身份打开之后,又直接不能打开终端了,提示报错“C:\windows\System32\WindowsPowerShell\v1.0\powershell.exe ”无法启动 (退出代码: 2)。
解决方法:
在文件,首选项,设置里面,输入shell,设置setting文件:
"terminal.integrated.shell.windows": "C:\\WINDOWS\\System32\\cmd.exe"
推荐学习:vscode教程
The above is the detailed content of What should I do if vscode cannot open the terminal?. For more information, please follow other related articles on the PHP Chinese website!