Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows Environment Variable Path is not handled correctly #369

Closed
MuelNova opened this issue Jun 22, 2024 · 1 comment
Closed

Windows Environment Variable Path is not handled correctly #369

MuelNova opened this issue Jun 22, 2024 · 1 comment

Comments

@MuelNova
Copy link

IMPORTANT
Please read README and Docs before creating the issue.

Please fill out the below information:
Describe the issue
Not sure if this is a bug of ArchLinux or a bug of ArchWSL.
In short, wsl will automatically handle Windows Environment Variable Path to Linux Environment Variable PATH.
However, paths like C:\Program Files\foo\ will not be converted correctly in ArchWSL, becoming Path=...:/mnt/c/Program:Files/foo/.

I have also tested it in official ubuntu distribution, it works perfectly however.

To Reproduce

echo $PATH

Expected behavior
Path should be converted correctly like /mnt/c/Program Files/foo

Screenshots
image

Enviroment:

  • Windows build number: 10.0.22631.3737
  • Security Software: None
  • WSL version 1/2: WSL2
  • ArchWSL version: 24.4.28.0
  • ArchWSL Installer type: zip clean
  • Launcher version: 24042000

Additional context
Add any other context about the problem here.

@MuelNova
Copy link
Author

Checked yuk7/wsldl#55 and found that this should be fixed long ago
So I created a new distribution and found everything works perfectly...

After digging into my shell script, I found that gvm is the one to blame.
For those who have the same problem, check moovweb/gvm#466 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant