Powershell parser to properly classify commands like bash / zsh
Resolved 💬 1 comment Opened Feb 3, 2026 by BumpyClock Closed Mar 20, 2026
What version of Codex CLI is running?
0.94.0
What subscription do you have?
Pro
Which model were you using?
gpt-5.2-codex
What platform is your computer?
Microsoft Windows NT 10.0.26200.0 x64
What terminal emulator and version are you using (if applicable)?
Windows Terminal
What issue are you seeing?
Codex should parse and classify read commands like it does for bash / zsh commands using AST parser. On Windows for PowerShell commands instead of List / Read instead it shows the command like follows:
Ran powershell -NoProfile -Command "Get-Content core/src/exec_policy.rs | Select-Object -Skip 1280 -First 140"
What steps can reproduce the bug?
Do anything on Windows that required codex to list files in a directory or search.
What is the expected behavior?
Mirror and match behavior on Windows to be the same as macOS and Linux with commands properly classified.
Additional information
_No response_
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗