X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Thu, 30 Jul 2009 09:54:02 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: bash pipeline exit code - possible race condition? Message-ID: <20090730135402.GB31765@ednor.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20090729233138 DOT GD13645 AT ednor DOT casa DOT cgf DOT cx> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 On Thu, Jul 30, 2009 at 02:11:10PM +1200, David Antliff wrote: >On Thu, Jul 30, 2009 at 11:31, Christopher >Faylor wrote: >> On Wed, Jul 29, 2009 at 05:16:24PM +1200, David Antliff wrote: >>>I've noticed a strange problem with bash pipelines in Cygwin that >>>might indicate some sort of race condition. I cannot reproduce the >>>problem on a Linux system, but it seems easy to reproduce in Cygwin. >> >>This doesn't appear to be a cygwin problem. I get occasional errors on >>linux as well. > >I tried to reproduce on Linux but without success - did you simply run >my script or perhaps something else? Do you see error "141" as well? I ran your script. cgf -- 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