diff options
author | Canop <cano.petrole@gmail.com> | 2022-11-04 10:08:17 +0100 |
---|---|---|
committer | Canop <cano.petrole@gmail.com> | 2022-11-04 10:08:17 +0100 |
commit | 58f87dc7a595d74b51c8a9da2beb98a981bfb62b (patch) | |
tree | 928a7d7713893620d7c2c28efd357579bbe0e19a /src/launchable.rs | |
parent | ae69ca7c0ee7b0999afebc8af8624dfb01f22ea2 (diff) |
version 1.16.2
Diffstat (limited to 'src/launchable.rs')
-rw-r--r-- | src/launchable.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/launchable.rs b/src/launchable.rs index fb2c3b5..e8b24d0 100644 --- a/src/launchable.rs +++ b/src/launchable.rs @@ -154,7 +154,7 @@ impl Launchable { old_working_dir = std::env::current_dir().ok(); std::env::set_current_dir(working_dir).unwrap(); } - let exec_res = Command::new(&exe) + let exec_res = Command::new(exe) .args(args.iter()) .spawn() .and_then(|mut p| p.wait()) @@ -178,7 +178,7 @@ impl Launchable { Ok(()) } Launchable::SystemOpen { path } => { - opener::open(&path)?; + opener::open(path)?; Ok(()) } } |