From 3169f064043d3c96d31b3f2d090d0b2f7e16e9c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E5=B0=8F=E7=99=BD?= <364772080@qq.com> Date: Thu, 10 Jul 2025 17:19:12 +0800 Subject: [PATCH] windows: Don't show cmd window when remoting (#34187) Release Notes: - N/A --- crates/remote/src/ssh_session.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/remote/src/ssh_session.rs b/crates/remote/src/ssh_session.rs index ff51cfda71..e31d3dcfd5 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())