mirror of
https://github.com/openai/codex.git
synced 2026-09-03 14:59:03 +00:00
## Why Windows update commands could be influenced by the current project through relative `PATH` entries or project-local package-manager configuration. ## What changed - Resolve package-manager commands and `powershell.exe` using only absolute `PATH` entries before starting an update. - Run the resolved command from a temporary directory so the current project does not affect the update, while retaining Windows `.cmd` and `.bat` handling. - Reject a relative-only `PATH` with guidance to update manually. ## Testing Added a Windows regression test that verifies relative `PATH` entries and current-directory command decoys are ignored. GitOrigin-RevId: 15303165af42718244b99786f939f400dc6cbd07