Changing macos impl

This commit is contained in:
Tomasz Drwięga 2016-06-24 12:30:54 +02:00
parent 566bb030ec
commit 653a368783

View File

@ -49,7 +49,7 @@ pub fn open(url: &str) {
#[cfg(target_os="macos")] #[cfg(target_os="macos")]
pub fn open(url: &str) { pub fn open(url: &str) {
use std; use std;
let _ = std::process::Command::new("open").arg(url).output(); let _ = std::process::Command::new("open").arg(url).spawn();
} }
#[cfg(target_os="linux")] #[cfg(target_os="linux")]