[MLton] Re: bug report: 20100608 macintel raises SysErr in basis library if run from a bundle

Bernard Berthomieu bernard at laas.fr
Tue Sep 21 08:03:05 PDT 2010


Matthew Fluet wrote:
> Sounds similar to the issue discussed in this thread:
>   http://mlton.org/pipermail/mlton-user/2008-September/001435.html
>
> An expedient solution to your problem would seem to be to change the
> tcl script to provide a null stdin:
>
>   if [catch {set msg [exec [file join [file dirname [info script]]
> mlapp] < "/dev/null"] }] {
>       set msg $errorInfo
>   }
>
>   

Yes, Thanks for this alternative. There is also the solution of
wrapping mlapp into a shell script that provides one, what I did.
So this bug is hardly critical.

  Bernard.




More information about the MLton mailing list