extraterm icon indicating copy to clipboard operation
extraterm copied to clipboard

wsl.exe fails to launch

Open cpriest opened this issue 7 years ago • 3 comments

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.

cpriest avatar Jul 15 '18 17:07 cpriest

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.

sedwards2009 avatar Jul 16 '18 05:07 sedwards2009

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.

cpriest avatar Jul 17 '18 02:07 cpriest

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

RobertDeRose avatar Jan 02 '19 14:01 RobertDeRose