delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/04/15/16:50:59

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <20090415153549.GA8722@calimero.vinschen.de>
References: <416096c60904051420h66325080j3b059f3fbb857bde AT mail DOT gmail DOT com> <416096c60904150814y45976747qa7878d1ed256fc9 AT mail DOT gmail DOT com> <20090415153549 DOT GA8722 AT calimero DOT vinschen DOT de>
Date: Wed, 15 Apr 2009 21:50:37 +0100
Message-ID: <416096c60904151350p62741e29if5c46598951d8dd9@mail.gmail.com>
Subject: Re: popup consoles on Windows 7
From: Andy Koppe <andy DOT koppe AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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

Corinna Vinschen:
> Treat it as a bug in Windows 7, probably. =A0Do you get the console window
> as soon as you call AllocConsole, or does it open later?

It opens when invoking AllocConsole(). If I take out both the
AllocConsole() and the execve(), no console is opened.


>=A0If so, it could also be the Cygwin code which allocates another console=
 for some reason.

Without the AllocConsole in mintty, I think it's the AllocConsole in
fhandler_console::need_invisible() that opens the console window.
Previously it went to the invisible window station created for that
purpose, but now it doesn't.


> If the above code also allocs a console window when run from a non-cygwin
> (mingw) application, then this should be reported as a bug to Microsoft.

Okay, I'll try that. Any tips on how best to report Cygwin-related bugs to =
MS?

Andy

--
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