Created
August 8, 2024 11:52
-
-
Save selivan/c747f5b19f0a7fd225eff6fda7d65479 to your computer and use it in GitHub Desktop.
Fix WSL not tunning exe files. See: https://github.com/microsoft/WSL/issues/8952#issuecomment-1568212651
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo sh -c 'echo :WSLInterop:M::MZ::/init:PF > /usr/lib/binfmt.d/WSLInterop.conf' | |
sudo /lib/systemd/systemd-binfmt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment