WSL: WSL/Win32 pipes not working properly
- A brief description
WSL/Win32 pipes are not working properly: try in cmd: bash -c "ls -alR /" | bash -c cat
- Expected results
it works until the end
- Actual results (with terminal output if applicable)
After a few seconds, it freezes. ls and cat processes then consume 0% CPU. Ctrl-C lets recover (everybody is killed)
- Your Windows build number
14946
- Steps / All commands required to reproduce the error from a brand new installation
in cmd: bash -c "ls -alR /" | bash -c cat
same pb with e.g.: bash -c "ls -alR /" | c:\cygwin64\bin\cat.exe
About this issue
- Original URL
- State: closed
- Created 10 years ago
- Comments: 18 (4 by maintainers)
Oops wrong button
Thanks for reporting this @xilun, I was unable to repro it inside VM but on a physical machine it was easy to repro. Found the problematic racing code and submitted a fix. Apologies for a poor experience.