From 96a855374ce9a8541872fee0b2bf71d32f257f65 Mon Sep 17 00:00:00 2001 From: Michael Bolin Date: Thu, 2 Apr 2026 23:52:11 -0700 Subject: [PATCH] fix: use COMSPEC in Windows unicode shell test --- codex-rs/core/tests/suite/shell_command.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codex-rs/core/tests/suite/shell_command.rs b/codex-rs/core/tests/suite/shell_command.rs index ad02a645e4..ce0f476984 100644 --- a/codex-rs/core/tests/suite/shell_command.rs +++ b/codex-rs/core/tests/suite/shell_command.rs @@ -268,7 +268,7 @@ async fn unicode_output(login: bool) -> anyhow::Result<()> { // config is actually being set correctly. let call_id = "unicode_output"; let command = if cfg!(windows) { - "cmd /c echo naïve_café" + "& $env:COMSPEC /c echo naïve_café" } else { "echo \"naïve_café\"" };