mit-scheme-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MIT-Scheme-devel] How to run a script and exit?


From: SB
Subject: Re: [MIT-Scheme-devel] How to run a script and exit?
Date: Mon, 9 Sep 2019 12:16:21 +0800

> Mon, Sep 9, 2019 at 11:52 AM Taylor R Campbell <address@hidden>
>
> I forgot to specify --batch-mode.

Actually, I did use --batch-mode. This is the exact command I ran:
    mit-scheme --batch-mode --eval '(bind-condition-handler (list condition-type:error) (lambda (c) c (exit 123)) (lambda () (load "script") (exit 0)))'
It prints:
    ';Loading "script"...
    ;... done

I am using MIT Scheme 9.1.1 btw.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]