You're viewing version 1.2.0 of with-sh-env. The latest stable version of Clojure Core is 1.3.0.
1.2.0 Arrow_down_16x16

with-sh-env

clojure.java.shell

  • (with-sh-env env & forms)
Sets the environment for use with sh, see sh for details.

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source clojure/java/shell.clj:28 top

(defmacro with-sh-env
  "Sets the environment for use with sh, see sh for details."
  {:added "1.2"}
  [env & forms]
  `(binding [*sh-env* ~env]
     ~@forms))
Vars in clojure.java.shell/with-sh-env: defmacro apply binding concat list seq vector
Used in 0 other vars

Comments top

No comments for with-sh-env. Log in to add a comment.