We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f663a7d + c16240a commit a262012Copy full SHA for a262012
src/lib.rs
@@ -100,10 +100,10 @@ fn open_on_macos(browser: Browser, url: &str) -> Result<Output> {
100
}
101
102
103
-/// Deal with opening of browsers on Windows, using `start link` command
+/// Deal with opening of browsers on Windows, using `start` command
104
fn open_on_windows(browser: Browser, url: &str) -> Result<Output> {
105
match browser {
106
- Browser::Default => Command::new("start").arg("link").arg(url).output(),
+ Browser::Default => Command::new("cmd").arg("/C").arg("start").arg(url).output(),
107
_ => Err(Error::new(
108
ErrorKind::NotFound,
109
"Only the default browser is supported on this platform right now"
0 commit comments