delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/03/08/22:09:30

X-Recipient: archive-cygwin AT delorie DOT com
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
Message-ID: <4F59744E.10408@gmail.com>
Date: Fri, 09 Mar 2012 04:09:02 +0100
From: marco atzeri <marco DOT atzeri AT gmail DOT com>
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 AT cygwin DOT 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> <loom DOT 20120309T021648-138 AT post DOT gmane DOT org>
In-Reply-To: <loom.20120309T021648-138@post.gmane.org>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019