Re: bug report: 20100608 macintel raises SysErr in basis library if run from a bundle
Bernard Berthomieu <[email protected]>
| Newsgroups | gmane.comp.lang.ml.mlton.devel |
|---|---|
| Message-ID | <[email protected]> |
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.