with-sh-dir

clojure.java.shell

  • (with-sh-dir dir & forms)
Sets the directory 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:21 top

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

Comments top

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