Corinna Vinschen: > Treat it as a bug in Windows 7, probably. Do 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. > If 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/