This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
Re: New run version with patches for Windows 7
- From: Andy Koppe <andy dot koppe at gmail dot com>
- To: cygwin-apps at cygwin dot com, Alexander Gottwald <Alexander dot Gottwald at s1999 dot tu-chemnitz dot de>
- Date: Sun, 9 Aug 2009 00:14:02 +0100
- Subject: Re: New run version with patches for Windows 7
- References: <20090808215431.GA18912@calimero.vinschen.de>
2009/8/8 Corinna Vinschen <corinna-cygwin@cygwin.com>:
> are you still with us in some way? ÂThere hasn't been a new version of
> the "run" tool for ages. ÂNow, with the upcoming Windows 7, Âit's
> necessary to workaround a bug in W7 in terms of creating an invisible
> console. ÂI have experimented a lot and came up with an incredible
> simple patch based on an idea from cgf. ÂI restricted the code to os
> versions >= Windows 7, but it works fine on Windows XP and later if the
> os_version checks are changed from checking for >= 0x0601 to checking for
>>= 0x0501. ÂXP is the minimum version providing the AttachConsole function.
Couldn't "run" just do nothing but invoke spawnvp() on the given
command? This way, it would rely on the invisible console code in
cygwin1.dll, and there'd be no need for duplicating any of that code.
Andy