mit-scheme -- run a script and exit
mit-scheme
Solution
For Unix mit-scheme reads the input files via redirection:
`mit-scheme < /usr/cph/foo.in > /usr/cph/foo.out 2>&1 &`
This is taken from the documentation http://www.gnu.org/software/mit-scheme/documentation/mit-scheme-user/Command_002dLine-Options.html#Command_002dLine-Options
Problem
I want to evaluate a script from makefile and exit, like this ``` mit-scheme --load "fact.scm" ``` However, after it evaluates the file, it does not exit, and the repl appears; if I try the `(exit)` primitive, it asks for confirmation y/n. Is it possible to solve this ?