Skip to content

WSL Connection in code doesn't resolve PATH variable properly  #216554

Closed
@cipherswami

Description

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

VS CodeVersion: 1.90.1 (user setup)
Commit: 611f9bf
Date: 2024-06-11T21:01:24.262Z
Electron: 29.4.0
ElectronBuildId: 9593362
Chromium: 122.0.6261.156
Node.js: 20.9.0
V8: 12.2.281.27-electron.0
OS: Windows_NT x64 10.0.22631

Steps to Reproduce:

  1. Connect to WSL Ubuntu LTS 23.4.3 in code using remote WSL Targets.
  2. In terminal you wont be able see "/snap/bin" in path variable even though it is being loaded by /etc/profile.d/apps-bin-path.sh
  3. That script runs normal if run from plane terminal without using code.
  4. The bug is from WSL extension I guess, initially able to bisect but it later not able to bisect this extension for some reason.
  5. WSL extension is also from microsoft.com.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

*duplicateIssue identified as a duplicate of another issue(s)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions