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
{{ message }}
Repository navigation
spawn codex ENOENT on Windows: companion script fails to find codex CLI #50
Verify codex is available: codex --version → codex-cli 0.117.0
Install the plugin in Claude Code: /plugin install codex@openai-codex
Run /codex:review
Expected Behavior
The companion script spawns codex and runs the review.
Actual Behavior
spawn codex ENOENT
The script exits with code 1.
Root Cause
The companion script (scripts/codex-companion.mjs) uses child_process.spawn('codex', ...) without { shell: true }. On Windows, npm global installs create .cmd wrapper scripts (e.g., codex.cmd), not raw executables. Node.js spawn without shell: true cannot resolve .cmd files, resulting in ENOENT.
Activity