mirror of
https://github.com/openai/codex.git
synced 2026-11-18 22:20:48 +00:00
## Why Windows processes hold their working directory open for their lifetime, and sandbox setup may broaden its ACL. Managed children should avoid pinning the launching project's directory or changing permissions on the private daemon state directory. ## What changed Create a `workdir` subdirectory alongside the PID files and use it as the working directory for both the managed app-server and updater on Windows. ## Testing Add a Windows regression test covering both managed children. It verifies that relative files land in `workdir`, the state directory still passes private-directory validation, and stopping each child removes its PID file. GitOrigin-RevId: 12ca95463ff3c80899a5b1a8800fead849f48017