Environment
Windows build number: 10.0.20197.1000
Your Distribution version: 18.04
Whether the issue is on WSL 2 and/or WSL 1: WSL 2
Build 20190 is also affected. Build 20170 and earlier are not affected. I am not sure about intermediate builds.
I have not tried with WSL 1.
Steps to reproduce
From a WSL terminal:
The specific GUI app does not appear to matter; I have tried this with gVim and VSCode as well.
Running explorer does not exhibit this behavior.
strace logs:
Gist: https://gist.github.com/BatmanAoD/a223863dd0c699c46f540b26d59ab4bc
WSL logs:
Feedback Hub link: https://aka.ms/AA9dpao
Expected behavior
As the GUI app opens, the WSL terminal command should return immediately, displaying a new prompt. The GUI process(es) and the shell should now be independent.
Actual behavior
The WSL shell appears to hang: it does not print new output or accept new input until the GUI process ends (e.g. by closing notepad). ctl-z and ctl-c do not suspend or kill the "hanging" shell process.
Environment
Build 20190 is also affected. Build 20170 and earlier are not affected. I am not sure about intermediate builds.
I have not tried with WSL 1.
Steps to reproduce
From a WSL terminal:
The specific GUI app does not appear to matter; I have tried this with gVim and VSCode as well.
Running
explorerdoes not exhibit this behavior.strace logs:
Gist: https://gist.github.com/BatmanAoD/a223863dd0c699c46f540b26d59ab4bc
WSL logs:
Feedback Hub link: https://aka.ms/AA9dpao
Expected behavior
As the GUI app opens, the WSL terminal command should return immediately, displaying a new prompt. The GUI process(es) and the shell should now be independent.
Actual behavior
The WSL shell appears to hang: it does not print new output or accept new input until the GUI process ends (e.g. by closing notepad).
ctl-zandctl-cdo not suspend or kill the "hanging" shell process.