fix: use command.process_group(0) for CLI providers, not just MCP (#7083)

Signed-off-by: Adrian Cole <adrian@tetrate.io>
This commit is contained in:
Adrian Cole
2026-02-09 13:33:22 +08:00
committed by GitHub
parent 5f183a63c6
commit d4865ae9fe
6 changed files with 16 additions and 13 deletions
+2 -2
View File
@@ -19,7 +19,7 @@ use crate::config::search_path::SearchPaths;
use crate::config::{Config, GooseMode};
use crate::conversation::message::{Message, MessageContent};
use crate::model::ModelConfig;
use crate::subprocess::configure_command_no_window;
use crate::subprocess::configure_subprocess;
use rmcp::model::Role;
use rmcp::model::Tool;
@@ -155,7 +155,7 @@ impl CodexProvider {
}
let mut cmd = Command::new(&self.command);
configure_command_no_window(&mut cmd);
configure_subprocess(&mut cmd);
// Propagate extended PATH so the codex subprocess can find Node.js
// and other dependencies (especially when launched from the desktop app