New run version with patches for Windows 7

Andy Koppe andy.koppe@gmail.com
Sun Aug 9 10:21:00 GMT 2009


2009/8/9 Corinna Vinschen:
> Have you seen the patch?  The code duplication is tiny.  It's a much
> simpler solution than in the Cygwin DLL.

But it'll still need changing again when MS break hidden consoles again.

> Having the console creation code in run also has the advantage of
> working when starting run from an existing console window.  The child
> process will run detached from the existing console in an invisible
> console window.  You can close the original console afterwards without
> killing the process ran through run.

That shouldn't be an issue. MSDN on FreeConsole(): "A console is
closed when the last process attached to it terminates or calls
FreeConsole."

Andy



More information about the Cygwin-apps mailing list