Commit 78cfc6ad authored by David Kastrup's avatar David Kastrup
Browse files

(browse-url-generic): Use call-process

instead of start-process to allow browsers that fork and detach.
parent 6555a8dd
;;; browse-url.el --- pass a URL to a WWW browser
;; Copyright (C) 1995, 96, 97, 98, 99, 2000, 2001
;; Copyright (C) 1995, 96, 97, 98, 99, 2000, 2001, 2004
;; Free Software Foundation, Inc.
;; Author: Denis Howe <dbh@doc.ic.ac.uk>
......@@ -1352,8 +1352,8 @@ don't offer a form of remote control."
(interactive (browse-url-interactive-arg "URL: "))
(if (not browse-url-generic-program)
(error "No browser defined (`browse-url-generic-program')"))
(apply 'start-process (concat browse-url-generic-program url) nil
browse-url-generic-program
(apply 'call-process browse-url-generic-program nil
0 nil
(append browse-url-generic-args (list url))))
;;;###autoload
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment