>
> - When I run clj (from the most recent ClojureX) on the command line with -i 
> and a source file it runs the file but then hangs. If I also specify -r then 
> I get a REPL after the file runs, which is nice, but I was hoping that 
> without -r it would terminate and return to a shell prompt without requiring 
> an interrupt. I don't see any options to clj or to Clojure's main that force 
> termination, or any quit or exit functions that I could call myself at the 
> end of my code... Am I missing something here?
>

When I run clojure as a script, I use the following command to
terminate the clojure instance:
(System/exit 0)

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to