[CLJ-765] Enhance clojure.java.shell/sh to accept more input types Created: 25/Mar/11 Updated: 06/May/11 Resolved: 06/May/11
|Fix Version/s:||Approved Backlog|
Currently clojure.java.shell/sh will only accept bytes or Strings as inputs to the subprocess's stdin.
Attached patch replaces code specific to byte and String with a call to clojure.java.io/copy, thus additionally accepting InputStreams, Readers, and Files as input.
|Comment by Stuart Halloway [ 05/Apr/11 8:39 PM ]|
second patch subsumes first, removes spurious imports.