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