techwhizbang <techwhizb...@gmail.com> writes: > I am using lein run -m to execute a simple database preparation task. > I issue 2 very simple commands that execute very fast on their on own > when executed in the shell. They also appear to execute very fast > based on the print output to stdout. However, the problem is that > after executing the 2 clojure.java.shell sh commands the process hangs > on way after it completes. So much so that it feels wrong. > > Here is the gist. https://gist.github.com/1635837
The agent thread pool is probably keeping the process open. Try calling (shutdown-agents) when you're done. This is a long-standing known bug/shortcoming in Clojure: http://dev.clojure.org/jira/browse/CLJ-124 -Phil -- 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