Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
windows: Don't show cmd window when remoting (#34187)
张小白3169f064043d
diff --git a/crates/remote/src/ssh_session.rs b/crates/remote/src/ssh_session.rsindex ff51cfda710..e31d3dcfd59 100644--- a/crates/remote/src/ssh_session.rs+++ b/crates/remote/src/ssh_session.rs@@ -1573,7 +1573,7 @@ impl SshRemoteConnection {// https://github.com/PowerShell/Win32-OpenSSH/wiki/Project-Scope#[cfg(target_os = "windows")]let args = ["-N"];- let mut master_process = process::Command::new("ssh");+ let mut master_process = util::command::new_smol_command("ssh");master_process.kill_on_drop(true).stdin(Stdio::null())