As an aside, clojure.java.shell is what you should be using, not
clojure.contrib.shell-out.

On May 14, 10:12 pm, Wei Hsu <yayits...@gmail.com> wrote:
> I have a process which runs fine in my bash terminal, but hangs when I
> run it using clojure.contrib.shell-out/sh in the REPL.
>
> Any tips on how to debug this? Would it be a memory issue, or
> something else?
>
> in bash:
> ./wkhtmltopdf --footer-html footer.html --encoding UTF-8http://[really
> long web page] content.pdf
>
> in REPL:
> (sh "./wkhtmltopdf" "--footer-html" "footer.html" "--encoding" "UTF-8"
> "http://[reallylong web page]" "content.pdf")
>
> If it is a memory issue, how would I increase the amount of memory to
> Clojure? I'm using vimclojure and nailgun.
>
> Thanks!

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