From a723dc8852f761b65b2f4cd25e958bf656278074 Mon Sep 17 00:00:00 2001 From: Ogulcan Celik Date: Fri, 17 Jul 2026 16:03:47 +0300 Subject: fix(windows): prevent remaining subprocess console flashes refs #1468 --- src/cli/plugin.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/cli') diff --git a/src/cli/plugin.rs b/src/cli/plugin.rs index 68cf0282..32447d1b 100644 --- a/src/cli/plugin.rs +++ b/src/cli/plugin.rs @@ -849,7 +849,7 @@ fn git_checkout( } fn run_git(cwd: Option<&Path>, args: [&str; N]) -> std::io::Result<()> { - let mut command = Command::new("git"); + let mut command = crate::noninteractive_process::command("git"); command.args(args); if let Some(cwd) = cwd { command.current_dir(cwd); @@ -865,7 +865,7 @@ fn run_git(cwd: Option<&Path>, args: [&str; N]) -> std::io::Resu } fn git_output(cwd: &Path, args: [&str; N]) -> std::io::Result { - let output = Command::new("git") + let output = crate::noninteractive_process::command("git") .args(args) .current_dir(cwd) .stdin(Stdio::null()) -- cgit v1.2.3