Thanks, Phil. Works like a charm! BTW, I'm working on the lein-mvn plugin which allows the use of maven plugins inside leiningen projects.
On Nov 16, 2:53 pm, Phil Hagelberg <p...@hagelb.org> wrote: > On Wed, Nov 16, 2011 at 11:48 AM, Matthew Boston > > <matthew.bos...@gmail.com> wrote: > > How can I get clojure.java.shell/sh to print to stdout while running? > > Currently, it waits until `sh` returns before I can access :out and > > println it. > > I actually had to stop using clojure.java.shell/sh for this and just > used Runtime/exec directly precisely for this reason: > > https://github.com/technomancy/leiningen/blob/master/src/leiningen/co... > > I could clean this up and submit it as a patch upstream if it's > desired. Though on the other hand, the raw Runtime calls are not > horribly cumbersome. > > -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