yuk7 / wsldl

Advanced WSL launcher / installer. (Win10 FCU x64/arm64 or later.)
https://git.io/wsldl
MIT License
1.76k stars 131 forks source link

`run` command spawns a new process and never kills it #65

Closed winderica closed 4 years ago

winderica commented 4 years ago

Every time run/-c command is executed, it spawns wslhost.exe, which will never be killed:

While other distros (not using wsldl) don't have this problem:

It's quite annoying because when there are a lot of wslhost.exes, launching a new terminal of wsl will fail and complain The Windows Subsystem for Linux instance has terminated.

winderica commented 4 years ago

It seems that this is not a bug of wsldl. (Although I could not figure out what goes wrong exactly)