original commit: cfa23802335d6008cfecf57406d9e1cb1ce9524f
This commit is contained in:
Robby Findler 2002-07-29 05:50:17 +00:00
parent f3a3cd6605
commit 11066aa53d

View File

@ -41,7 +41,8 @@
(send-event "MACS" "GURL" "GURL" str))] (send-event "MACS" "GURL" "GURL" str))]
[(or (eq? (system-type) 'macosx) [(or (eq? (system-type) 'macosx)
(equal? "ppc-macosxonx" (system-library-subpath))) (equal? "ppc-macosxonx" (system-library-subpath)))
(system (format "osascript -e 'open location \"~a\"'" str))] (system (format "osascript -e 'open location \"~a\"'"
(regexp-replace* "%" str "%25")))]
[(eq? (system-type) 'windows) [(eq? (system-type) 'windows)
(shell-execute #f str "" (current-directory) 'SW_SHOWNORMAL)] (shell-execute #f str "" (current-directory) 'SW_SHOWNORMAL)]
[(eq? (system-type) 'unix) [(eq? (system-type) 'unix)