diff --git a/crates/askpass/src/askpass.rs b/crates/askpass/src/askpass.rs index 8e911f1654..ab4474aa62 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() );