Every time run/-c command is executed, it spawns wslhost.exe, which will never be killed:
Before executing Arch.exe run "echo 'test'"
After executing Arch.exe run "echo 'test'"
While other distros (not using wsldl) don't have this problem:
Before executing ubuntu2004.exe run "echo 'test'"
After executing ubuntu2004.exe run "echo 'test'"
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.
Every time
run
/-c
command is executed, it spawnswslhost.exe
, which will never be killed:Arch.exe run "echo 'test'"
Arch.exe run "echo 'test'"
While other distros (not using wsldl) don't have this problem:
ubuntu2004.exe run "echo 'test'"
ubuntu2004.exe run "echo 'test'"
It's quite annoying because when there are a lot of
wslhost.exe
s, launching a new terminal of wsl will fail and complainThe Windows Subsystem for Linux instance has terminated.