refactor: unify zsh fork shell tool with fd-based bridge

This commit is contained in:
Michael Bolin
2026-02-22 20:01:03 -08:00
parent e8949f4507
commit 4cfc116d7f
12 changed files with 174 additions and 271 deletions

View File

@@ -546,7 +546,7 @@ fn main() -> anyhow::Result<()> {
arg0_dispatch_or_else(|codex_linux_sandbox_exe| async move {
// Run wrapper mode only after arg0 dispatch so `codex-linux-sandbox`
// invocations don't get misclassified as zsh exec-wrapper calls.
if codex_core::maybe_run_zsh_exec_wrapper_mode()? {
if codex_core::maybe_run_zsh_exec_wrapper_mode().await? {
return Ok(());
}
cli_main(codex_linux_sandbox_exe).await?;