<< Back to previous view

[CLJ-765] Enhance clojure.java.shell/sh to accept more input types Created: 25/Mar/11  Updated: 26/Jul/13  Resolved: 06/May/11

Status: Closed
Project: Clojure
Component/s: None
Affects Version/s: None
Fix Version/s: Backlog

Type: Enhancement Priority: Minor
Reporter: Alexander Taggart Assignee: Unassigned
Resolution: Completed Votes: 0
Labels: None

Attachments: Text File 0765-shell-2.patch     Text File shell.patch    
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.



 Comments   
Comment by Stuart Halloway [ 05/Apr/11 8:39 PM ]

second patch subsumes first, removes spurious imports.

Generated at Sat Oct 25 17:27:33 CDT 2014 using JIRA 4.4#649-r158309.