| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=1.2 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> <4F59744E DOT 10408 AT gmail DOT com> |
| In-Reply-To: | <4F59744E.10408@gmail.com> |
| Subject: | RE: Can't reliably redirect standard output from C# program in recent Cygwin |
| Date: | Fri, 9 Mar 2012 18:49:28 -0000 |
| Message-ID: | <007601ccfe25$5bf41670$13dc4350$@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 think this is a regression:
1. Used setup to install Cygwin package 1.7.10. Problem still exists.
2. Since setup did not offer me the ability to go back to 1.7.9, I found my
old archive for that version and extracted the bin files to manually go back
to that version. Problem fixed!
So it must be a bug introduced in Cygwin 1.7.10 and not yet fixed in 1.7.11.
Unfortunately, manually reinstalling the 1.7.9 broke core utilities ("ls"
does not work anymore, for example...) Guess I need to restore those,
too...
James
-----Original Message-----
Sent: Friday, March 09, 2012 03:09
Subject: Re: Can't reliably redirect standard output from C# program in
recent Cygwin
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
--
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 |