final fix

This commit is contained in:
Nikolay Volf 2016-06-14 18:26:40 +03:00
parent 37260d7cf5
commit 91bb6c5d43

View File

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