Details
-
Type:
Enhancement
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Completed
-
Affects Version/s: None
-
Fix Version/s: Approved Backlog
-
Component/s: None
-
Labels:None
-
Patch:Code
-
Approval:Ok
Description
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.
second patch subsumes first, removes spurious imports.