bash pipeline exit code - possible race condition?

Larry Hall (Cygwin) reply-to-list-only-lh@cygwin.com
Thu Jul 30 11:27:00 GMT 2009


On 07/29/2009 01:16 AM, 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.

<snip>

> I am running Cygwin on Windows XP (service pack 3).
>
> $ uname -srv
> CYGWIN_NT-5.1 1.5.25(0.156/4/2) 2008-06-12 19:34

Want to try the test again with the upcoming Cygwin 1.7 release?
<http://cygwin.com/#beta-test>  1.5.x is will be replaced by it very
shortly so unless the problem is still visible in 1.7, it's not likely
to spark much investigation.  Just FYI.

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

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