On 28 February 2010 21:38, Lee Spector <lspec...@hampshire.edu> wrote:
[...]
> - 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?

I suspect this is happening because you are using agents and you are
not calling (shutdown-agents) at the end of your script.  If this is
the case then it should exit by itself after about a minute (without
calling shutdown-agents).

-- 
Michael Wood <esiot...@gmail.com>

-- 
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