Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

fix: use cmd.exe in Windows unicode shell test (#16668)

Michael Bolinb15c918836ae
diff --git a/codex-rs/core/tests/suite/shell_command.rs b/codex-rs/core/tests/suite/shell_command.rs
index ce0f476984..705a06a4c5 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) {
- "& $env:COMSPEC /c echo naïve_café"
+ "cmd.exe /c echo naïve_café"
} else {
"echo \"naïve_café\""
};