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

Charles Wilson cygwin@cwilson.fastmail.fm
Fri Feb 17 20:27:00 GMT 2012


On 2/17/2012 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.

So, should run.exe (and run2.exe) be modified to do something similar to
what Cygwin does, since they both use CreateProcess directly?

--
Chuck



More information about the Cygwin-developers mailing list