Your solution mostly works. It does not work when there is an error in the code. When there is an error, MIT Scheme starts the debugger instead of immediately exiting with a non-zero exit code. Is there a way to immediately exit with a non-zero exit code when something goes wrong in the code?
On Mon, Sep 9, 2019 at 1:36 AM SB <[email protected]> wrote: > > mit-scheme --batch-mode --load script.scm --eval '(%exit 0)' > > Is `(%exit 0)` documented? `exit` is documented, but I can't seem to find > `%exit` in the documentation. >
_______________________________________________ MIT-Scheme-devel mailing list [email protected] https://lists.gnu.org/mailman/listinfo/mit-scheme-devel
