mirror of
https://github.com/openai/codex.git
synced 2026-09-06 15:29:32 +00:00
## What changed - Extend the macOS MCP launcher to use native spawning for bare command names as well as relative executable paths. - Resolve bare commands against the child's configured `PATH`, including empty entries and the default path when `PATH` is unset, while preserving `argv[0]` and script spelling. - Fall back to the existing command launcher for failed searches and executable text without a shebang so its errors and shell behavior remain unchanged. ## Testing Add macOS coverage for child `PATH` resolution, default-path lookup, launch errors, and shebang-free executable fallback. GitOrigin-RevId: 06e76bf8dbd515331b588da797eb57cb765a546d