Den 2010-09-30 09:44 skrev Peter Rosin: > Maybe the shopt isn't needed after all. If the SetErrorMode call checks > if the SEM_FAILCRITICALERRORS is already set, that could be used to > determine if the CREATE_DEFAULT_ERROR_MODE flag should be added in > spawn_guts. Then you could start an MSYS process with a custom error > mode, and the error mode would be inherited. Hopefully anyway, I might > easily have missed something...
I have implemented exactly that and just posted this to the MinGW patch tracker: http://sourceforge.net/tracker/index.php?func=detail&aid=3081421&group_id=2435&atid=302435 Cheers, Peter