pub fn with_command(path: impl AsRef<OsStr>, app: impl Into<String>) -> CommandExpand description
Get a command that uses app to open path.
ยงExamples
let path = "http://rust-lang.org";
assert!(open::with_command(path, "app").status()?.success());