Skip to content

Commit e1b74d8

Browse files
committed
Wrap provided app in quotes on Windows
1 parent a33caba commit e1b74d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/windows.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ pub fn with_command<T: AsRef<OsStr>>(path: T, app: impl Into<String>) -> Command
2222
cmd.arg("/c")
2323
.arg("start")
2424
.raw_arg("\"\"")
25-
.raw_arg(app.into())
25+
.raw_arg(wrap_in_quotes(app.into()))
2626
.raw_arg(wrap_in_quotes(path))
2727
.creation_flags(CREATE_NO_WINDOW);
2828
cmd

0 commit comments

Comments
 (0)