Hi, thanks for the quick response. Looking at the source code I'm not sure if the patches were applied. Maybe there was a "regression". The symptoms seem consistent with what was supposed to have been fixed.
Following the clojure.org api docs, I clicked through on the source code link on http://richhickey.github.com/clojure-contrib/shell-api.html to get to https://github.com/richhickey/clojure-contrib/blob/a1c66df5287776b4397cf3929a5f498fbb34ea32/src/main/clojure/clojure/contrib/shell_out.clj#L83 and that doesn't look like the code in the patches, but maybe its pointing at the wrong place? I also tried to find the source code in https://github.com/clojure/clojure-contrib but failed. On Wed, Jan 5, 2011 at 4:16 PM, Stuart Halloway <stuart.hallo...@gmail.com> wrote: > (1) The ticket you reference is marked completed and the patches went in last > July. Is it possible you are seeing a different problem? > > (2) Clojure does not depend on anything in the clojure.contrib namespace. > > (3) Running inside a pmap should be ok, but make sure you understand the > interleavings you are seeing. > > Cheers, > Stu > >> Hello everyone, >> >> A while back there was some discussion on the fact that >> clojure.java.shell can hang under various circumstances, and some >> patches were submitted: >> >> http://dev.clojure.org/jira/browse/CLJ-392?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel >> >> But doesn't seem to have made it into the release. >> >> Is there a known way to avoid these issues? I suspect my particular >> problem is the output of my process is too big for the buffer. >> >> Perhaps a reasonable hack is to increase the buffer size, but I >> wouldn't know which one to increase. Is it >> clojure.contrib.io/*buffer-size* ? >> >> I'm also running several instances of clojure.java.shell/sh in a pmap, >> I assume that is safe? >> >> Thanks in advance. >> >> -- >> 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 > > -- > 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 -- 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