This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: freopen irritates system-call/sh.exe


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]