I took a slightly different approach to this, in pallet.shell, and added
an :async flag that returns the streams and the process
https://github.com/pallet/pallet/blob/master/src/pallet/shell.clj
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post
On Wed, Nov 16, 2011 at 1:59 PM, Matthew Boston
wrote:
> 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.
Great; looking forward to it!
-Phil
--
You received this message because you are subscribed
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 wrote:
> On Wed, Nov 16, 2011 at 11:48 AM, Matthew Boston
>
> wrote:
> > How can I get clojure.java.shell/sh to print to
On Wed, Nov 16, 2011 at 11:48 AM, Matthew Boston
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/exe