diff --git a/codex-rs/core/src/shell.rs b/codex-rs/core/src/shell.rs index 471201ee94..702e5ae99f 100644 --- a/codex-rs/core/src/shell.rs +++ b/codex-rs/core/src/shell.rs @@ -445,11 +445,17 @@ mod tests { }; assert_eq!( test_powershell_shell.derive_exec_args("echo hello", false), - vec!["pwsh.exe", "-NoProfile", "-Command", "echo hello"] + vec![ + "pwsh.exe", + "-NoLogo", + "-NoProfile", + "-Command", + "echo hello" + ] ); assert_eq!( test_powershell_shell.derive_exec_args("echo hello", true), - vec!["pwsh.exe", "-Command", "echo hello"] + vec!["pwsh.exe", "-NoLogo", "-Command", "echo hello"] ); }