Merge pull request #1984 from wdv4758h/fix-open

Fix open on FreeBSD
This commit is contained in:
Tomasz Drwięga 2016-08-23 08:54:33 +02:00 committed by GitHub
commit 81ac3a1936

View File

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