From 7ca4d19282530df34a9c3da319592c2fabefecb2 Mon Sep 17 00:00:00 2001 From: Matthew Flatt Date: Wed, 12 Dec 2007 21:07:25 +0000 Subject: [PATCH] use osascrip tinsteda of open to open a URL in Mac OS X svn: r7977 original commit: 6c2e8deee26ae863444f76fa8d8ad3dd937ceafc --- collects/net/sendurl.ss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/collects/net/sendurl.ss b/collects/net/sendurl.ss index bc25614f67..db828f588a 100644 --- a/collects/net/sendurl.ss +++ b/collects/net/sendurl.ss @@ -59,7 +59,7 @@ (cond [(procedure? external) (external url-str)] [(eq? stype 'macosx) - (browser-process (format "open \"~a\"" url-str))] + (browser-process (format "osascript -e 'open location \"~a\"'" url-str))] [(eq? stype 'windows) (shell-execute #f url-str "" (current-directory) 'SW_SHOWNORMAL)] [(not (eq? stype 'unix))