Skip to content

web

web · scripts/web/web.m

: web (url)
: web (url, option, …)
: [stat, h, url] = web (…)

Open url in the system web browser.

The options "-new", "-notify", "-browser" and "-noaddressbox" are accepted for compatibility; the page is always shown in the default browser of the desktop. stat is 0 on success, 1 when no browser could be found and 2 when it could not be started; h is always empty and the last output is the address that was opened.