Function open::with_in_background

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

Open path with the given application in a new thread, which is useful if the program ends up to be blocking. Otherwise, prefer with() for straightforward error handling.

See documentation of with() for more details.