mirror of
https://github.com/openai/codex.git
synced 2026-10-29 19:08:43 +00:00
## Why `ShellExecuteExW` needs `SystemRoot` to elevate the Windows sandbox setup helper. ## What changed Add `SYSTEMROOT` to the environment variables copied from the host for wrapper setup. Keep the serialized inner command environment unchanged so the host value is available only to the wrapper. ## Testing Extend Windows sandbox manager tests to cover case-insensitive replacement of `SystemRoot` and verify that it is excluded from the inner command environment. GitOrigin-RevId: c69f9f92665e97a178e2de488fbb9fd6b7ff7ac6