Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix running Windows .exe files from a WSL/Ubuntu command prompt when …
…mono-runtime is installed and systemd is enabled. Trying to run "explorer.exe" from a WSL/Ubuntu command prompt, for example, would result in the following error: run-detectors: unable to find an interpreter for /mnt/c/Windows/explorer.exe The fix was taken from microsoft/WSL#4567 (comment). (I confirmed that the mono-runtime package added the cli entry that caused the problem by running "update-binfmts --display".) I'd tried the following but they didn't work for me: microsoft/WSL#8843 (comment) (Create /usr/lib/binfmt.d/WSLInterop.conf.) microsoft/WSL#8843 (comment) (sudo systemctl mask systemd-binfmt.service)
- Loading branch information