Cygwin's spawn/exec, mintty and the "Program Compatibility Assistant"

Earnie Boyd earnie@users.sourceforge.net
Fri Feb 17 14:27:00 GMT 2012


On Fri, Feb 17, 2012 at 7:18 AM, Corinna Vinschen wrote:
> Bottom line:
>
> - From observation I assume that it's all about having a runlevel manifest
>  or not.  On W7 the binary additionally needs a special W7 compatible
>  manifest.
>
> - Console applications are only affected when started directly from the
>  GUI.  If they are started from a correctly-manifested console app (CMD),
>  they and their children are not affected anymore.
>
> - So we would have to create all executables with a W7-compatible
>  manifest.  That is quite certainly not an option.
>
> - So we have to keep the CREATE_BREAKAWAY_FROM_JOB stuff in Cygwin
>  for the time being.

Or, create a specially crafted mintty.bat file that uses ``%COMSPEC%
/c start mintty.exe''.

-- 
Earnie
-- https://sites.google.com/site/earnieboyd



More information about the Cygwin-developers mailing list