Closed GoogleCodeExporter closed 8 years ago
The window that flashes up indeed is a console window. You get the same effect
with rxvt. Here's the explanation from child.c.
Some native console programs require a console to be attached to the
process, otherwise they pop one up themselves, which is rather annoying.
Cygwin's exec function from 1.5 onwards automatically allocates a console
on an invisible window station if necessary. Unfortunately that trick no
longer works on Windows 7, which is why Cygwin 1.7 contains a new hack
for creating the invisible console.
On Cygwin versions before 1.5 and on Cygwin 1.5 running on Windows 7,
we need to create the invisible console ourselves. The hack here is not
as clever as Cygwin's, with the console briefly flashing up on startup,
but it'll do.
MSYS is a fork Cygwin 1.3, so it doesn't have the invisible console code. You
could try removing mintty's hack and see whether any programs you'd run in
msysgit actually do pop up a console without it.
Mintty itself is built as a GUI program (due to the -mwindows link option).
Original comment by andy.koppe
on 14 Jul 2010 at 1:11
Original comment by andy.koppe
on 18 Jul 2010 at 5:09
Original issue reported on code.google.com by
sschuberth
on 14 Jul 2010 at 8:33