pub fn open_browser<P>(path: P) -> Result<(), OpenError>
Expand description
Opens a file or link with the system default program, using the BROWSER
environment variable
when set.
If the BROWSER
environment variable is set, the program specified by it is used to open the
path. If not, behavior is identical to open()
.