diff --git a/src/windows.rs b/src/windows.rs index e9f9aee..74ced51 100644 --- a/src/windows.rs +++ b/src/windows.rs @@ -22,7 +22,7 @@ pub fn with_command>(path: T, app: impl Into) -> Command cmd.arg("/c") .arg("start") .raw_arg("\"\"") - .raw_arg(app.into()) + .raw_arg(wrap_in_quotes(app.into())) .raw_arg(wrap_in_quotes(path)) .creation_flags(CREATE_NO_WINDOW); cmd