Skip to content

When using --image with exec codex hangs #2795

@SawyerHood

Description

@SawyerHood

What version of Codex is running?

0.25.0

Which model were you using?

gpt-5-med

What platform is your computer?

Darwin 24.6.0 arm64 arm

What steps can reproduce the bug?

Running:

codex exec "Tell me what you see" --image "/Users/sawyerhood/Downloads/shapes\ at\ 25-08-19\ 17.28.40.png"

Hangs the codex cli (it never exits or responds even left for 10 minutes)

This happens with any image I pass it.

What is the expected behavior?

I expect Codex to respond.

What do you see instead?

➜  terragon git:(main) codex exec "Tell me what you see" --image "/Users/sawyerhood/Downloads/shapes\ at\ 25-08-19\ 17.28.40.png"
[2025-08-27T20:34:46] OpenAI Codex v0.25.0 (research preview)
--------
workdir: /Users/sawyerhood/terragon
model: gpt-5
provider: openai
approval: never
sandbox: read-only
reasoning effort: medium
reasoning summaries: auto
--------
[2025-08-27T20:34:46] User instructions:
Tell me what you see

This and it never responds

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions