delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=1.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_WEB,SPF_HELO_PASS |
X-Spam-Check-By: | sourceware.org |
From: | "James Johnston" <JamesJ AT motionview3d DOT com> |
To: | <cygwin AT cygwin DOT com> |
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> |
Subject: | RE: Can't reliably redirect standard output from C# program in recent Cygwin |
Date: | Fri, 9 Mar 2012 18:47:25 -0000 |
Message-ID: | <007201ccfe25$130065e0$390131a0$@motionview3d.com> |
MIME-Version: | 1.0 |
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 |
I can reproduce this: C:\cygwin\bin>perl -e 'print "abc";' abc C:\cygwin\bin>perl -e 'print "abc";' | more abc C:\cygwin\bin>perl -e 'print "abc";' | more abc C:\cygwin\bin>perl -e 'print "abc";' | more C:\cygwin\bin>perl -e 'print "abc";' | more C:\cygwin\bin>perl -e 'print "abc";' | more I also noticed that the failures took 1 or 2 seconds to run - a significant delay. The successful runs completed "instantly". James -----Original Message----- Sent: Friday, March 09, 2012 01:24 Subject: Re: Can't reliably redirect standard output from C# program in recent Cygwin 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'm replying using gmane so as to keep the reply threaded not knowing how else to do this). aspell-en 7.1.0-1 OK base-cygwin 3.0-1 OK base-files 4.1-1 OK base-passwd 3.1-2 OK bash 4.1.10-4 OK binutils 2.22.51-1 OK bison 2.4.2-1 OK build-docbook-catalog 1.5-2 OK bzip2 1.0.6-2 OK ca-certificates 1.81-1 OK coreutils 8.15-1 OK cpio 2.11-1 OK crypt 1.1-1 OK csih 0.9.5-1 OK ctags 5.8-1 OK cygrunsrv 1.40-1 OK cygutils 1.4.8-1 OK cygwin 1.7.11-1 OK cygwin-doc 1.7-1 OK dash 0.5.7-1 OK ... patchutils 0.3.2-1 OK perl 5.14.1-2 OK perl_manpages 5.10.1-5 OK ping 1.0-1 OK ... -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |