pipe broken by WSL?
Thomas Wolff
towo@towo.net
Fri May 3 02:32:00 GMT 2019
Am 02.05.2019 um 18:26 schrieb Eliot Moss:
> On 5/2/2019 11:37 AM, Stephen Carrier wrote:
>> 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" ?
>
> You seem to be right; when I add < /dev/null as described, I get the
> expected output.
Yes, indeed. Thanks.
Thomas
>
> Regards - Eliot
>
> --
> 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
>
--
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