[MLton] Re: test-{create,spawn} fail(?) on MinGW

Matthew Fluet fluet at tti-c.org
Mon Jul 6 15:25:20 PDT 2009


On Sat, 4 Jul 2009, Wesley W. Terpstra wrote:
> On Fri, Jul 3, 2009 at 3:53 PM, Wesley W. Terpstra <wesley at terpstra.ca>wrote:
>
>> I was running a regression of HEAD when I noticed:
>
> testing test-create/spawn fail
>
>
> I've fixed this for MinGW.
>
> My fix may have impacted the cygwin test-create regression for the
> useWindowsProcess case. I made the TerminateProcess call set the high bit on
> the exit status.

test-create behaves the same with r7179 and r7208.  My guess is that the 
bit is too high to be noticed by the Cygwin/Posix WIFEXITED/etc macros 
(used by Process.fromStatus' to convert from an integer to the 
Posix.Process.exit_status datatype).



More information about the MLton mailing list