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/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


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