diff options
| author | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-07-17 16:03:47 +0300 |
|---|---|---|
| committer | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-07-17 16:03:47 +0300 |
| commit | a723dc8852f761b65b2f4cd25e958bf656278074 (patch) | |
| tree | 02267b4519d918d67a2e3019164394f92d488c26 /src/cli | |
| parent | 8d2af4e046c2a95dfc54aafd6f88da12389d76e8 (diff) | |
fix(windows): prevent remaining subprocess console flashes
refs #1468
Diffstat (limited to 'src/cli')
| -rw-r--r-- | src/cli/plugin.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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<const N: usize>(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<const N: usize>(cwd: Option<&Path>, args: [&str; N]) -> std::io::Resu } fn git_output<const N: usize>(cwd: &Path, args: [&str; N]) -> std::io::Result<String> { - let output = Command::new("git") + let output = crate::noninteractive_process::command("git") .args(args) .current_dir(cwd) .stdin(Stdio::null()) |
