Function open
Source pub fn open(arg: &str) -> Result<()>
Expand description
Opens the given argument using the system’s default app (“open”).
§Rationale
The argument passed to the “open” command is naively wrapped with ‘’
to avoid failures in case of URLs with & or other shell sensitive
characters.
§Errors
- If the
open command exits with a non-zero status.