Changing macos impl
This commit is contained in:
parent
566bb030ec
commit
653a368783
@ -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")]
|
||||||
|
Loading…
Reference in New Issue
Block a user