We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Microsoft Windows [Versione 10.0.22621.2213]
1.2.5.0
5.15.90.1
Debian 12
No response
Open a fresh Debian installation and then run "explorer.exe ." or any other .exe file
Before Debian 12 if I executed .exe they would start normally
-bash: /mnt/c/Windows/explorer.exe: cannot execute binary file: Exec format error
The text was updated successfully, but these errors were encountered:
I'm having the same problem.
Sorry, something went wrong.
I had the same problem on ubuntu. The solution/workaround recently got mentioned in #8843 and #8952
Run this in bash:
sudo sh -c 'echo :WSLInterop:M::MZ::/init:PF > /usr/lib/binfmt.d/WSLInterop.conf'
After that restart your WSL distro:
wsl --shutdown
It works. However it should be included out of the box as it happened before Debian12
/dupe #8843
No branches or pull requests
Windows Version
Microsoft Windows [Versione 10.0.22621.2213]
WSL Version
1.2.5.0
Are you using WSL 1 or WSL 2?
Kernel Version
5.15.90.1
Distro Version
Debian 12
Other Software
No response
Repro Steps
Open a fresh Debian installation and then run "explorer.exe ." or any other .exe file
Expected Behavior
Before Debian 12 if I executed .exe they would start normally
Actual Behavior
-bash: /mnt/c/Windows/explorer.exe: cannot execute binary file: Exec format error
Diagnostic Logs
No response
The text was updated successfully, but these errors were encountered: