Returns current working directory as a String. (Like UNIX 'pwd'.)
Note: In Java, you cannot change the current working directory.
(defn pwd
"Returns current working directory as a String. (Like UNIX 'pwd'.)
Note: In Java, you cannot change the current working directory."
{:deprecated "1.2"}
[]
(System/getProperty "user.dir"))
Comments top
1 comment(s) for pwd.
Make sure you say (use 'clojure.contrib.io) before using pwd.