windows: Don't show cmd window when remoting (#34187)

Release Notes:

- N/A
This commit is contained in:
张小白
2025-07-10 09:19:12 +00:00
committed by GitHub
parent 76e52ea374
commit 3169f06404
+1 -1
View File
@@ -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())