-
Notifications
You must be signed in to change notification settings - Fork 39.1k
Unable to run code from wsl1 #269702
Copy link
Copy link
Open
Labels
WSLIssue when using WSLIssue when using WSLbugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bug
Milestone
Description
Does this issue occur when all extensions are disabled?: Yes
- VS Code Version: 1.104.3
- OS Version: Windows server 2019 (WSL 1 ubuntu 22.04)
This has been an issue since the releases after 1.81.1 re: #192506
I've just recently had time to dig into this issue further and these are the findings so far.
Steps to Reproduce:
- Install vscode
- Launch WSL shell
- Run
code . --verbose - Result is the following
I then run the command that's shown when running the --verbose by copy/paste as you can see from the third arrow and code launches exactly as expected.
If I sudo su to get to root, fix my PATH to point to the user install of code, and then run code . --verbose it also launches fine. The command invoked is the exact same command in every case.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
WSLIssue when using WSLIssue when using WSLbugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bug