diff --git a/crates/askpass/src/askpass.rs b/crates/askpass/src/askpass.rs index 8e911f1654572d2bcd9f906c82449e1524d0ce9d..ab4474aa62faedbfac0bc680a52648fa824c83a1 100644 --- a/crates/askpass/src/askpass.rs +++ b/crates/askpass/src/askpass.rs @@ -257,7 +257,7 @@ impl PasswordProxy { // todo(shell): There might be no powershell on the system #[cfg(target_os = "windows")] let askpass_helper = format!( - "powershell.exe -ExecutionPolicy Bypass -File '{}'", + "powershell.exe -ExecutionPolicy Bypass -File \"{}\"", askpass_script_path.display() );