Closed djc closed 4 years ago
That's strange. On mac all this library does to open a path just boils down to this:
Command::new("open")
.arg(path_you_provide)
.stdin(Stdio::null())
.stdout(Stdio::null())
.stderr(Stdio::piped())
.spawn()?;
Therefore I don't see how this issue could be caused by this library. You should experience the same behavior manually running the open
command like this in your code.
Can't reproduce this now, anyway. Sorry for the noise!
When running code from
cargo run
in VS Code, theopener::open()
call when provided with a URL will open that URL in Safari. If I runopen
from the command line in the same shell, it opens in Firefox.