mirror of
https://github.com/openai/codex.git
synced 2026-09-03 14:59:03 +00:00
## Why Microsoft Store PowerShell executables under `WindowsApps` can be inaccessible to the dedicated elevated sandbox account. ## What changed - For local elevated sandbox commands that target Store PowerShell, select the first compatible `pwsh.exe` or `powershell.exe` from `PATH` or the standard fallback locations. - Continue adding `-NoProfile`, and preserve the selected shell for remote execution and other sandbox modes. ## Testing Added unit coverage for Store-path filtering, fallback ordering, local replacement, and remote-path preservation. GitOrigin-RevId: 8ab3d0db925e886879701445040f13902fb1ad24