pipe broken by WSL?
Thomas Wolff
towo@towo.net
Wed May 1 09:21:00 GMT 2019
Calling WSL seems to break pipe processing:
(echo 1; echo 2) |
while read line
do
 echo $line
 wsl uname
done
The loop is not repeated. Commenting out the wsl command, it works as
expected. Prefixing wsl with winpty also makes it work.
Thomas
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list