extraterm
extraterm copied to clipboard
wsl.exe fails to launch
When configured for WSL and specifying the shell/command as wsl.exe, it fails to launch.
wsl.exe is the new preferred way of launching WSL rather than bash.exe as wsl.exe will use the configured login shell.
wsl.exe is used for the WSL session type, and the shell should be a linux style path to your linux shell. At the moment if you say "Use default shell", then it actually just grabs /bin/bash without looking at the default which you've configured on the wsl side. This bit is wrong.
Ahh yes, I see that is true. I didn't realize that it was asking for the WSL shell. Setting the shell to /bin/zsh worked just fine.
I guess it just may need some clarification in the GUI.
By the way, this is an AWESOME concept. I'm a huge terminal fan and a programmer. If I get some time, I plan to contribute to the project.
I tried setting my shell to /bin/zsh and it didn't invoke it, I also attempted to modify the code to pass nothing in for the shell, and just allow wsl.exe to invoke the configured login shell, but I failed to find exactly where that would need to happen, though I didn't spend a ton of time trying