This is the mail archive of the cygwin-apps 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: New run version with patches for Windows 7


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


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