diff --git a/codex-rs/core/tests/suite/shell_command.rs b/codex-rs/core/tests/suite/shell_command.rs index ad02a645e..ce0f47698 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é\"" };