diff --git a/src/lib.rs b/src/lib.rs index 43ac42e..dbb928b 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -272,14 +272,14 @@ mod macos { use crate::{CommandExt, IntoResult, Result}; pub fn that + Sized>(path: T) -> Result { - Command::new("open") + Command::new("/usr/bin/open") .arg(path.as_ref()) .output_stderr() .into_result() } pub fn with + Sized>(path: T, app: impl Into) -> Result { - Command::new("open") + Command::new("/usr/bin/open") .arg(path.as_ref()) .arg("-a") .arg(app.into())