-
Notifications
You must be signed in to change notification settings - Fork 814
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
unable to run windows command from wsl2 #6588
Comments
If you like you can post a link to a gist of the output from |
Thanks for the reply, here is the info https://gist.github.com/klever1988/0997193a25380c427b56bbbd8d7bef25 |
Thanks for the
On WSL2, you should have On your What it should be set to is the highest PID You can set the variable to |
Have you followed one of the unrecommended guides on the internet for using “systemd” or “systemd-nspawn” inside WSL? This can cause trouble with the initial WSL environment being discarded. |
Yeah, this. Thanks Dustin. |
$PATH is right, wslinterop is enabled,
only exit code 1 is returned when I tried to run any windows exe
long time ago I had done a release upgrade from ubuntu-18 to ubuntu-20 inside wsl, but I am not sure if it's which cause this issue.
I tried to install fresh ubuntu-20/debian instances from MicrosoftStore, and both of them worked.
Dose anyone know why?
The text was updated successfully, but these errors were encountered: