You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
appIssues related to the Codex desktop appbugSomething isn't workingtool-callsIssues related to tool callingwindows-osIssues related to Codex on Windows systems
Execute the specified Git Bash binary and report MINGW64.
Actual
Executes WSL bash and reports Linux, with the working directory under /mnt/.
Directly invoking the same Git Bash executable from PowerShell correctly reports MINGW64. Both login modes reproduce the issue.
Suspected cause
The upstream get_shell_by_model_provided_path implementation uses the provided path only to identify the shell type, then discovers its executable again through PATH. On this machine, that resolves to C:\Windows\System32\bash.exe, the WSL launcher.
Suggested fix
Honor an explicitly supplied absolute executable path. If it cannot be executed, return an error instead of silently choosing another executable and execution environment.
Related to #60573, but this report provides a reproducible Git Bash → WSL case and a suspected executable-path resolution issue. The symptoms may share a root cause, but that has not been confirmed. Keeping this open pending maintainer triage.
appIssues related to the Codex desktop appbugSomething isn't workingtool-callsIssues related to tool callingwindows-osIssues related to Codex on Windows systems
Activity
github-actions commentedon Nov 11, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
SilvaNotics commentedon Nov 11, 2026
Related to #60573, but this report provides a reproducible Git Bash → WSL case and a suspected executable-path resolution issue. The symptoms may share a root cause, but that has not been confirmed. Keeping this open pending maintainer triage.