From 869803f60e67e19ef5dd7f15aa3cf6e4e48c6b84 Mon Sep 17 00:00:00 2001 From: Chiu-Hsiang Hsu Date: Tue, 23 Aug 2016 13:53:24 +0800 Subject: [PATCH] Fix open on FreeBSD --- parity/url.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parity/url.rs b/parity/url.rs index 129812387..fca7c6620 100644 --- a/parity/url.rs +++ b/parity/url.rs @@ -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();