Home  >  Article  >  Development Tools  >  What should I do if vscode cannot open the terminal?

What should I do if vscode cannot open the terminal?

尚
Original
2020-03-24 15:30:2410554browse

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn