A Clojure library shakes your shell.
[shake "0.1.0"]
(use 'shake.core)
;; any shell command ...
(uname -a) ;;returns a #<UNIXProcess java.lang.UNIXProcess@1833160>
;; if you just want to see the output:
(binding [*print-output* true]
(uname -a))
By default, shake indexes all executables under your PATH. To
override this behavior, set environment variable SHAKE_PATH
before you initialize the namespace shake.core
.
Copyright © 2012 Sun Ning sunng@about.me
Distributed under the Eclipse Public License, the same as Clojure.