[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MIT-Scheme-devel] How to run a script and exit?
From: |
Taylor R Campbell |
Subject: |
Re: [MIT-Scheme-devel] How to run a script and exit? |
Date: |
Mon, 9 Sep 2019 04:27:18 +0000 |
> Date: Mon, 9 Sep 2019 12:16:21 +0800
> From: SB <address@hidden>
>
> > 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.
Oops. I guess you need
(parameterize ((param:suppress-loading-message? #t)) ...)
around the load too. Bleh.
- [MIT-Scheme-devel] How to run a script and exit?, SB, 2019/09/08
- Re: [MIT-Scheme-devel] How to run a script and exit?, Taylor R Campbell, 2019/09/08
- Re: [MIT-Scheme-devel] How to run a script and exit?, SB, 2019/09/08
- Re: [MIT-Scheme-devel] How to run a script and exit?, SB, 2019/09/08
- Re: [MIT-Scheme-devel] How to run a script and exit?, Taylor R Campbell, 2019/09/08
- Re: [MIT-Scheme-devel] How to run a script and exit?, SB, 2019/09/08
- Re: [MIT-Scheme-devel] How to run a script and exit?, Taylor R Campbell, 2019/09/08
- Re: [MIT-Scheme-devel] How to run a script and exit?, SB, 2019/09/09
- Re: [MIT-Scheme-devel] How to run a script and exit?,
Taylor R Campbell <=
- Re: [MIT-Scheme-devel] How to run a script and exit?, Chris Hanson, 2019/09/09
- Re: [MIT-Scheme-devel] How to run a script and exit?, Taylor R Campbell, 2019/09/08