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:from:date:to:subject:message-id:references :mime-version:content-type:content-transfer-encoding :in-reply-to; q=dns; s=default; b=c8Z0YpLufEZwFZ7RbQwNCineP6ptXP Z8171qQt4+KwsVefROfSwnuGv69CzaAEd++OonZxKPHtw0dkd4lSKNkLMEXwvaHd xZEyVxxrC4jfDhNCshrwYZZpMeNyc6MeoD2R3r+lH3+dj95E6zQ/JU3HxwtCSlOG keHbcAYXYdCtg= 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:from:date:to:subject:message-id:references :mime-version:content-type:content-transfer-encoding :in-reply-to; s=default; bh=TD6fPYKxFSERCUvN824Z7mqu3Fk=; b=q59h KSkRJarMMTbEju4TwP9gH4puuTZvxMrgqmHOScZi38k4jl7tOh58mXE/KnxSmEXV tLXmBS+EwEo8EiA0i9tHQWKv0K0+AsaVr6J4MFpceZ7PmHcAS+2RSiXERUqRpDD8 0EMfcr/vBI8F2Xw0+T4Q6GXuIIVSBzUJ718B56A= 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=-0.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=H*M:zebra, HX-HELO:sk:mail-pl, H*RU:sk:mail-pl, HX-Spam-Relays-External:sk:mail-pl X-HELO: mail-pl1-f171.google.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=berkeley-edu.20150623.gappssmtp.com; s=20150623; h=from:date:to:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=9IgftxjG1yLLo434sOMcPnYRp/UpLidjR/EikZCEUSQ=; b=CS+YTI0VUaZLTeCfzwxxSQ/cnxylbRduBwsASmjnUAnl0xW/Z35mGEHvZJSI5s3Xt7 afyRkbTNkNx8UW9jKfxvVopgCniHLfYQGJh7YUXnRrkunjv5SRNH/Ja/nhtzwm8D9bQE iHYVrN8ZtuNp1XmHZ5U10I4vzAT7SgCfUclTokuDcjd6J6KkqzOG2XJUKBhDT9gzvwXf tI/63l9tKp5Gpsv4WwpUJmWGb0zalwn+EipkJos4Fz76zVO07/OUz42mDvDSysb5uhEO XZnHIe52jrbl91yyaOOpNgykQNEfLtzcZ/lzNv3buukC3ml5T/RS/29IK/g4iQzYpzIg XZcg== From: Stephen Carrier Date: Thu, 2 May 2019 08:37:26 -0700 To: cygwin AT cygwin DOT com Subject: Re: pipe broken by WSL? Message-ID: <20190502153726.GA1867@zebra> References: <2a6d7c3d-f8ff-eafe-3048-8bbd689216c5 AT towo DOT net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <2a6d7c3d-f8ff-eafe-3048-8bbd689216c5@towo.net> User-Agent: Mutt/1.9.1 (2017-09-22) X-IsSubscribed: yes 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