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

What should I do if vscode cannot open the terminal?

Release: 2020-03-24 15:30:24
Original
10609 people have browsed it

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"
Copy after login

推荐学习: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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template