l0.DependencyControl.helpers.open-url¶
Functions¶
open ¶
Opens an http(s) URL in the user's default browser. The URL is validated and never passed through a shell command line, so an attacker-controlled feed URL can't inject a command.
| param | type | description |
|---|---|---|
| url | string |
The URL to open. |
Returns:
oktrue? — True on success; nil if the URL was rejected, the platform is unsupported, or the open failed.errstring? — A human-readable reason on failure; nil on success.