diff --git a/src/cargo/ops/cargo_doc.rs b/src/cargo/ops/cargo_doc.rs index 5b271567eee..43a6621d750 100644 --- a/src/cargo/ops/cargo_doc.rs +++ b/src/cargo/ops/cargo_doc.rs @@ -99,9 +99,9 @@ fn open_docs(path: &Path) -> Result<&'static str, Vec<&'static str>> { #[cfg(target_os = "windows")] fn open_docs(path: &Path) -> Result<&'static str, Vec<&'static str>> { - match Command::new("cmd").arg("/C").arg("start").arg("").arg(path).status() { - Ok(_) => return Ok("cmd /C start"), - Err(_) => return Err(vec!["cmd /C start"]) + match Command::new("cmd").arg("/C").arg(path).status() { + Ok(_) => return Ok("cmd /C"), + Err(_) => return Err(vec!["cmd /C"]) }; }