Skip to main content

to-file

functionv1.12

clojure.java.process/to-file

Available in:BBCLJ
(to-file [f & {:keys [append], :as opts}])
Coerce f to a file per clojure.java.io/file and return a ProcessBuilder.Redirect writing to the file. Set ':append' in opts to append. This can be passed to 'start' in :out or :err.

No examples yet. Be the first to add one!