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

Publish the runing WSL version #6577

Closed
lucasvc opened this issue Feb 22, 2021 · 2 comments
Closed

Publish the runing WSL version #6577

lucasvc opened this issue Feb 22, 2021 · 2 comments

Comments

@lucasvc
Copy link

lucasvc commented Feb 22, 2021

Is your feature request related to a problem? Please describe.
As WSL 2 has features that WSL 1 not, would be useful to know inside the running shell which version is and allow execution of code depending on it.

Describe the solution you'd like
Does not matter which solution is decided, but a reliable and official mechanism to get the WSL version runing on the current shell.

Describe alternatives you've considered
This proposed superuser answer. It works, it is reliaable, but seems not pretty elegant.

Additional context
N/A

@therealkenc
Copy link
Collaborator

/dupe #4555

@ghost
Copy link

ghost commented Feb 22, 2021

Hi! We've identified this issue as a duplicate of another one that already exists in this repository. This specific instance is being closed in favor of tracking the concern over on the referenced thread.

Thanks for your report!

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

No branches or pull requests

2 participants