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