Biswa96 / wslbridge2

Explore various ways to connect Windows Subsystem for Linux with Windows terminal emulators.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hvpty login option

mintty opened this issue · comments

wslbridge supports starting the WSL shell as a login shell,
triggered by checking its own argv[0][0] == '-'
Although WSL distros do not seem to make much difference on login shell, this would be a good option to have in general.

Added the login option. Can you check?

./hvpty -d Ubuntu
/bin/dash: 0: Illegal option --

It seems you add --login to the WSL bash, but it should just be -l to work with all shells.

./hvpty -d Debian
.profile

It seems login mode is enabled even without hvpty -l option.
Same with wslbridge2.

Works fine, thank you.