X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=TcQGGyKLnMt0Xo6c OM+4fWxZTwke52gJdWUD+lOr+AjdronVFSBSBgi5ZRjK1iL0teQmVXPo7u4QCyKL a7Ll11cd9phOvAUxQM/QpWPpu1Q9aaR6asrHpL9Z08Nv/oUv3TTbJsQy45vu/CbP TnUCRDxHSnIetIno8RMfLBEAQo4= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=2TZhoXYc24bAoF5P4MwbaG t4yNU=; b=AVH3shnVqvsHPUhO7eRUOHutjt8r6y/xrlwqbEjNdQeEF/SLJFmXXc jZAHGe6rDXfbxfIJMaDjoa62vvt50aL/ebEAUO8jiA45A51H7TjUqBtCTck9ZsUO bFoV9qNgOF8FJjAEga6aty3PmQ4ZO3w6QdxmR0zIuxiFEw1eFdJZA= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy=H*r:212.227.15, H*RU:sk:mrelaye, H*r:sk:mrelaye, HX-Provags-ID:V03 X-HELO: mout.kundenserver.de Subject: Re: pipe broken by WSL? To: cygwin AT cygwin DOT com References: <2a6d7c3d-f8ff-eafe-3048-8bbd689216c5 AT towo DOT net> <20190502153726 DOT GA1867 AT zebra> From: Thomas Wolff Message-ID: <4c5ab3a4-7fec-bbf5-adb6-87a219dbe0b2@towo.net> Date: Fri, 3 May 2019 04:32:27 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Note-from-DJ: This may be spam 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