WSL: WSL2: interop broken in build 18945

  • Your Windows build number: Microsoft Windows [Version 10.0.18945.1001]

  • What you’re doing and what’s happening: Execute any windows executable from within WSL2 and redirect the output. For e.g. cmd.exe /c "test" 2> /dev/null or notepad.exe 2> /dev/null.

  • What’s wrong / what should be happening instead: The program return hangs forever, the executable gets called and the output is printed/ the program work but the program does not return after it’s finished.

Looks like this is a regression introduced by 18945 as it worked on WSL2 before this update. If you need more information or there is something I need to provide, please let me know.

Edit: I’ve confirmed that only WSL2 is affected by running the same examples within a WSL1 distribution which work like expected. Also I’ve validated the bug within another WSL2 distribution (Pengwin and Ubuntu) and both experience the described behavior.

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Reactions: 6
  • Comments: 15 (4 by maintainers)

Most upvoted comments

I’ve identified the issue and am working on a fix.

Fixed in 18970.

Still broken in 18965.

Still broken in 18963.

It’s hard to give an estimate because there are so many factors. It will be soon though. I wish we were able to get fixes out quicker but that is the reality of a project as big as Windows.

Thanks! I can confirm cross compiling works again in build 18970. 👌