• (pwd)
Returns current working directory as a String. (Like UNIX 'pwd'.)
Note: In Java, you cannot change the current working directory.

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/contrib/duck_streams.clj:271 top

(defn pwd
  "Returns current working directory as a String.  (Like UNIX 'pwd'.)
  Note: In Java, you cannot change the current working directory."
  []
  (System/getProperty "user.dir"))
Vars in clojure.contrib.duck-streams/pwd: defn
Used in 0 other vars

Comments top

No comments for pwd. Log in to add a comment.