You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Running genie -i would cause Windows exe failed to find first parameter.
Running git.exe: empty output & exitcode 1
Running git.exe status: prints git help
Running git.exe status status: prints same with original git.exe status
To Reproduce
Steps to reproduce the behavior:
genie -i
git.exe status
Expected behavior
Apprarently
Additional context
This problem is actually caused by wrongly configured /usr/lib/binfmt.d/WSLInterop.conf:
:WSLInterop:M::MZ::/init:F
But the original cat /proc/sys/fs/binfmt_misc/WSLInterop is:
The missing P is the problem. Changing F to PF in WSLInterop.conf would solve this issue, but I can't confirm whether other Windows version have the same situation.
The text was updated successfully, but these errors were encountered:
My WSL Debian did not have a /usr/lib/binfmt.d/WSLInterop.conf, I created on and tried it with and without the "P" flag. Debian required th eP. WSLg works with:
Windows version (build number):
10.0.22598.200
Linux distribution:
Ubuntu jammy
Kernel version:
5.10.102.1-microsoft-standard-WSL2
Genie version:
genie 2.3
Describe the bug
Running
genie -i
would cause Windows exe failed to find first parameter.Running
git.exe
: empty output & exitcode 1Running
git.exe status
: prints git helpRunning
git.exe status status
: prints same with originalgit.exe status
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Apprarently
Additional context
This problem is actually caused by wrongly configured
/usr/lib/binfmt.d/WSLInterop.conf
:But the original
cat /proc/sys/fs/binfmt_misc/WSLInterop
is:The missing P is the problem. Changing F to PF in
WSLInterop.conf
would solve this issue, but I can't confirm whether other Windows version have the same situation.The text was updated successfully, but these errors were encountered: