Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

askpass: Use double quotes for script name in helper command (#43689)

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