From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22321 invoked by alias); 9 Mar 2012 03:09:21 -0000 Received: (qmail 22311 invoked by uid 22791); 9 Mar 2012 03:09:20 -0000 X-SWARE-Spam-Status: No, hits=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-ww0-f45.google.com (HELO mail-ww0-f45.google.com) (74.125.82.45) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 09 Mar 2012 03:09:07 +0000 Received: by wgbds10 with SMTP id ds10so1046297wgb.2 for ; Thu, 08 Mar 2012 19:09:05 -0800 (PST) Received: by 10.180.14.73 with SMTP id n9mr626272wic.16.1331262545891; Thu, 08 Mar 2012 19:09:05 -0800 (PST) Received: from [192.168.2.196] (93-33-96-117.ip43.fastwebnet.it. [93.33.96.117]) by mx.google.com with ESMTPS id fl2sm3037055wib.4.2012.03.08.19.09.04 (version=SSLv3 cipher=OTHER); Thu, 08 Mar 2012 19:09:04 -0800 (PST) Message-ID: <4F59744E.10408@gmail.com> Date: Fri, 09 Mar 2012 03:09:00 -0000 From: marco atzeri User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: cygwin@cygwin.com Subject: Re: Can't reliably redirect standard output from C# program in recent Cygwin References: <004e01ccfd70$c69af3f0$53d0dbd0$@motionview3d.com> <005c01ccfd79$6341f980$29c5ec80$@motionview3d.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2012-03/txt/msg00303.txt.bz2 On 3/9/2012 2:24 AM, Bill Meier wrote: > I've just noticed what sounds like the same issue: > > On Windows 7, in a 'cmd' window (at a 'cmd' prompt) doing the following fails > more often than not: > > perl -e 'print "abc";' | \cygwin\bin\more > > > That is: "abc" does not always display on the screen after > the command is executed. > > > I note that the problem does not seem to happen in a mintty window > or in bash started from a 'cmd' window. > > I'm running cygwin perl 5.14 with an up-to-date cygwin. > > Bill Meier > I guess it is some type of race. on my W7/64 with 20120307 it works around 50% of the times from cmd but 100% from the dash shell Regards Marco -- 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