Skip to content

powershell.exe terminated with exit code: 2. #158655

Description

@Phibik

Does this issue occur when all extensions are disabled?: Yes

PLEASE DON'T DUPLICATE THIS ISSUE

I'm getting this error in any terminal I open (powershell, powershell (admin), cmd and vscode terminal). So to fix it I found this reported issue: #88008 but I swear I still don't know how to solve it, I'm not a vscode pro, I just use it for math animations and I need the terminal. So in that issue he just goes on settings.json and changes "terminal.integrated.windowsEnableConpty" from TRUE to FALSE. But I can't get to settings.json, and I still don't know if that solution is gonna work out

So I do ctrl + shift + p and type "settings json" and I have 3 options, the workspace (that has nothing in it) the user (that has like 20 lines) and the default, which has all of the settings including that one that I want to change. But I can't edit it because says: "Cannot edit in read-only editor". I don't even know if that will work but I cannot even acces to it because of this I'm so mad please help.

Metadata

Metadata

Labels

info-neededIssue requires more information from posterterminalGeneral terminal issues that don't fall under another label

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions