Documentation
¶
Overview ¶
Package browser opens a URL in the default browser without waiting for the browser to exit.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Open ¶
Open opens url in the default browser.
The opener command (for example xdg-open on Linux) exits at once when it gives the URL to a browser that runs already. When no browser runs, the opener starts one and does not exit until that browser exits. Open does not wait for that: if the opener still runs after handoffWait, Open returns nil and the opener continues in the background.
If the opener fails before handoffWait, Open returns its error.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.