X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org X-Mail-Handler: MailHop Outbound by DynDNS X-Report-Abuse-To: abuse AT dyndns DOT com (see http://www.dyndns.com/services/mailhop/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX1+8D0ZwBDpmoH9oYCXHBExs Date: Mon, 12 Mar 2012 10:57:54 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: Can't reliably redirect standard output from C# program in recent Cygwin Message-ID: <20120312145754.GA19423@ednor.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <004e01ccfd70$c69af3f0$53d0dbd0$@motionview3d.com> <005c01ccfd79$6341f980$29c5ec80$@motionview3d.com> <007201ccfe25$130065e0$390131a0$@motionview3d.com> <20120309195247 DOT GB18960 AT calimero DOT vinschen DOT de> <20120311013339 DOT GA32518 AT ednor DOT casa DOT cgf DOT cx> <00b701cd0059$25c26a80$71473f80$@motionview3d.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <00b701cd0059$25c26a80$71473f80$@motionview3d.com> User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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 Mon, Mar 12, 2012 at 02:05:13PM -0000, James Johnston wrote: >You're partially correct, depending on how you look at it... As I wrote >earlier, I reproduced it with a straight Win32 program, too - by doing a >null write that every C# program would do. So I guess it's not specific to >C#, since C++ programs can cause it too. But every C# program would >normally do this activity since the runtime always does the null write - so >in that sense, I guess it is somewhat specific to C#. > >Thanks all, good to know it should be fixed. :) I'm not sure why you have translated "I am dubious that this has anything to do with redirecting..." into "good to know that it should be fixed". The problem with a windows pipe at the command prompt does not translate to a C# (or C++ or Pascal) program running under (presumably) mintty. -- 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