clojure.java.shell

clojure.java.shell

by Chris Houser, Stuart Halloway

Full namespace name: clojure.java.shell

Overview

Conveniently launch a sub-process providing its stdin and
collecting its stdout

Public Variables and Functions

shfunction

Usage: (sh & args)
Passes the given strings to Runtime.exec() to launch a sub-process.

Options are

:in      may be given followed by any legal input source for
         clojure.java.io/copy, e.g. InputStream, Reader, File, byte[],
         or String, to be fed to the sub-process's stdin.
:in-enc  option may be given followed by a String, used as a character
         encoding name (for example "UTF-8" or "ISO-8859-1") to
         convert the input string specified