fix(windows) support apply_patch parsing in powershell (#7221)

## Summary
Support powershell parsing of apply_patch

## Testing
- [x] Enable apply_patch unit tests

---------

Co-authored-by: jif-oai <jif@openai.com>
This commit is contained in:
Dylan Hurd
2025-11-24 11:32:47 -08:00
committed by GitHub
parent c31663d745
commit 1e832b1438
3 changed files with 115 additions and 38 deletions

View File

@@ -26,7 +26,7 @@ async fn execpolicy_blocks_shell_invocation() -> Result<()> {
return Ok(());
}
let mut builder = test_codex().with_model("gpt-5.1").with_config(|config| {
let mut builder = test_codex().with_config(|config| {
let policy_path = config.codex_home.join("policy").join("policy.codexpolicy");
fs::create_dir_all(
policy_path