Skip to content

Unable to run code from wsl1 #269702

@mutilator

Description

@mutilator

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:

  1. Install vscode
  2. Launch WSL shell
  3. Run code . --verbose
  4. Result is the following
Image

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.

Metadata

Metadata

Assignees

Labels

WSLIssue when using WSLbugIssue identified by VS Code Team member as probable bug

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions