With WSL2 installed it is then possible to access the Linux subsystem via the Windows command prompt: However, trying to run that same command from inside of Zeus results in this error: This happens because Zeus is a 32 bit application and the wsl.exe executable is only found in the PATH environment for 64 bit executables.
To access the Linux subsystem from inside Zeus you need to use the 32 bit version of the wsl.exe executable which is found here:
Code: Select all
C:\Windows\Sysnative\wsl.exe
Code: Select all
C:\Windows\Sysnative\wsl.exe cat /etc/os-release
Using this approach you can easily setup Linux tools and compiler commands that can be run inside of Zeus.
Updating the PATH
If you open a command line prompt from inside Zeus and try to run these same commands you will once again run into this error:
This is because Zeus will have started a 32 bit cmd.exe executable meaning we once again have the same mismatch as described earlier.
To fix all off these issue the best option is to just add the location to the PATH environment variable.
Code: Select all
C:\Windows\Sysnative\
Cheers Jussi