This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: pipe broken by WSL?


On Wed, May 01, 2019 at 11:20:59AM +0200, Thomas Wolff wrote:
> Calling WSL seems to break pipe processing:
> 
> (echo 1; echo 2) |
> while read line
> do
>   echo $line
>   wsl uname
> done

I don't know about wsl, but could it be absorbing the standard input?
What if "wsl uname" is replaced with "wsl uname < /dev/null" ?

Stephen Carrier
BEAR Center

--
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]