Function open::with_detached

source ·
pub fn with_detached<T: AsRef<OsStr>>(
    path: T,
    app: impl Into<String>
) -> Result<()>
Expand description

Open path with the given application using a detached process, which is useful if the program ends up to be blocking or want to out-live your app. Otherwise, prefer with() for straightforward error handling.

See documentation of with() for more details.