> Date: Mon, 9 Sep 2019 11:30:25 +0800
> From: SB <[email protected]>
> 
> > Mon, Sep 9, 2019 at 5:10 AM Taylor R Campbell <[email protected]>
> >
> > Could do something like
> > mit-scheme --eval '(bind-condition-handler (list condition-type:error)
> (lambda (c) c (exit 123)) (lambda () (load "script") (exit 0)))'
> > (It is kind of silly that something like this is not built-in.)
> 
> :-) But this solution also prints ';Loading "script.scm"... ;... done' to
> stdout. This side effect may be undesirable for many.

I forgot to specify --batch-mode.

_______________________________________________
MIT-Scheme-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/mit-scheme-devel

Reply via email to