[plt-scheme] Calling a browser in PLT Scheme

From: Neil W. Van Dyke (neil at neilvandyke.org)
Date: Sun May 9 11:17:33 EDT 2004

PLT Scheme actually already does this portably:

    (require (lib "sendurl.ss" "net"))
    (send-url "http://www.my-website.com/")

Search for "send-url" in the Help Desk.

Jean-Pierre Lozi <jean-pierre at lozi.org> writes at 17:05 09-May-2004 +0200:
> Is there a clean and easy way to launch a default browser in a PLT 
> Scheme application? I mean, something like the "Help->Related Websites" 
> in the DrScheme's help menu. I know i could use different ways depending 
> on the operating system, e.g. for windows :
> 
> (shell-execute #f "http://www.my-website.com" "" (current-directory) 
> 'sw_shownormal)
[...]


Posted on the users mailing list.