browse-url

clojure.java.browse

  • (browse-url url)
Open url in a browser

1 Example top

  • user=> (use 'clojure.java.browse)
    
    user=> (browse-url "http://clojuredocs.org")
    
Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source clojure/java/browse.clj:46 top

(defn browse-url
  "Open url in a browser"
  {:added "1.2"}
  [url]
  (or (open-url-in-browser url)
      (when *open-url-script* (sh/sh *open-url-script* (str url)) true)
      (open-url-in-swing url)))
Vars in clojure.java.browse/browse-url:
Used in 0 other vars

Comments top

No comments for browse-url. Log in to add a comment.