-
-
Notifications
You must be signed in to change notification settings - Fork 131
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 into the running instance the WSL version #91
Comments
You can get WSL version (1 or 2) of instance: |
I meant to retrieve the version from the running Linux. As I pointed in the question (made by myself) there is a not clear environment variable and the Kernel So I don't know if If my C knowledge would not be so rusty I could set a PR, sorry :( |
ah, sorry, I understood. Now, we don't provide wsl version information to environment variable. |
I think it is difficult to provide that function. |
Yes, ideally should be that Microsoft provides it (I probably will open an issue later). UPDATE: SuperUser question has a good workaround, so feel free to close this. |
From the PowerShell/cmd line you can check which WSL version is each of the installed distros you have:
Unfortunatelly, windows is not publishing into the running instance which is the WSL version running, neither they indicate how to obtain that information from the running shell (question on superuser with some unofficial options).
Could it be possible to add this version value from the
Launcher
retrieved previous start?The text was updated successfully, but these errors were encountered: