X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Message-ID: <32620797.post@talk.nabble.com> Date: Sun, 9 Oct 2011 13:03:25 -0700 (PDT) From: "jan.kolar" To: cygwin AT cygwin DOT com Subject: Re: Problem redirecting stderr to pipe in subprocess In-Reply-To: <4E90C308.9090508@cornell.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: <4E906DD1 DOT 50107 AT cornell DOT edu> <4E90C308 DOT 9090508 AT cornell DOT edu> X-IsSubscribed: yes 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 Ken Brown-6 wrote: > > On 10/8/2011 11:35 AM, Ken Brown wrote: > ched is a slight modification of the STC, in which I set stdin for > the bash subprocess to /dev/null. With this modification, the program > works as expected (and as on Linux) with cygwin-1.7.9, but the same > problem as before occurs with the latest snapshot. > > Ken > Make sure the results are as you state, and not just random. ./a0.exe # does it fail ? ./a1.exe # does it work ? ./a0.exe # does it fail ? ./a1.exe # does it work ? External conditions might play its role. -- View this message in context: http://old.nabble.com/Problem-redirecting-stderr-to-pipe-in-subprocess-tp32616089p32620797.html Sent from the Cygwin list mailing list archive at Nabble.com. -- 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