We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ccdbd0 commit a631235Copy full SHA for a631235
src/lib.rs
@@ -59,7 +59,7 @@ pub fn that<T:AsRef<OsStr>+Sized>(path: T) -> io::Result<ExitStatus> {
59
#[cfg(target_os = "windows")]
60
pub fn that<T:AsRef<OsStr>+Sized>(path: T) -> io::Result<ExitStatus> {
61
let mut cmd = Command::new("cmd");
62
- cmd.arg("/C").arg("start");
+ cmd.arg("/C").arg("start").arg("");
63
if let Some(s) = path.as_ref().to_str() {
64
cmd.arg(s.replace("&", "^&"));
65
} else {
0 commit comments