delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/03/30/10:10:13

X-Spam-Check-By: sourceware.org
Date: Thu, 30 Mar 2006 17:10:02 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: freopen irritates system-call/sh.exe
Message-ID: <20060330151002.GJ20907@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <442BDED7 DOT 6020107 AT osc-es DOT de> <loom DOT 20060330T164915-546 AT post DOT gmane DOT org>
Mime-Version: 1.0
In-Reply-To: <loom.20060330T164915-546@post.gmane.org>
User-Agent: Mutt/1.4.2i
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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
Note-from-DJ: This may be spam

On Mar 30 14:56, Eric Blake wrote:
> Jens Wilken <Jens.Wilken <at> osc-es.de> writes:
> 
> > How does freopen-ing stdout and stderr affect subsequent "system" calls?
> 
> It shouldn't have any effect on subsequent calls, other than that stderr
> or stdout is mapped to a new underlying stream.  There are other changes,
> unrelated to freopen, that do affect consoles popping up or not (and by
> the way, snapshot 20060329 flashes a console when cygrunsrv starts an

This has nothing to do with the snapshot.  It's the latest change to
cygrunsrv which re-introduced the short flash.  It's very simple.
Either a console window flashes for a split-second, or you will never
see a console window, but the console window is then unusable for output
from the service application.  There's no way around this for now.
To not lose the output capability, you'll have to live with the flashing
window.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019