:- use_module(library(www_browser)).(can be autoloaded)
If it detects MS-Windows it uses win_shell/2 to open the URL. The behaviour and browser started depends on the version of Windows and Windows-shell configuration, but in general it should be the behaviour expected by the user.
- Other platforms
On other platforms it tests the environment variable (see getenv/2) named
BROWSERor uses netscape if this variable is not set. If the browser is either
netscape, www_open_url/1 first tries to open a new window on a running browser using the
-remoteoption of Netscape. If this fails or the browser is not
netscapethe system simply passes the URL as first argument to the program.