Skip to content

Fix Codex CLI: Use 'exec' subcommand for non-interactive execution - #13

Open
dxu104 wants to merge 7 commits into
jimmc414:masterfrom
dxu104:master
Open

Fix Codex CLI: Use 'exec' subcommand for non-interactive execution#13
dxu104 wants to merge 7 commits into
jimmc414:masterfrom
dxu104:master

Conversation

@dxu104

@dxu104 dxu104 commented Jan 1, 2026

Copy link
Copy Markdown

The Codex CLI requires an interactive terminal when using the default command,
causing "Error: stdin is not a terminal" in non-interactive environments.

This fix uses the official codex exec --full-auto command, which is the
recommended way to run Codex CLI programmatically without requiring a TTY.

Tested: Successfully generates patches (100% generation score) with Codex CLI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant