codex exec unable to edit on Windows

Resolved 💬 5 comments Opened Sep 5, 2025 by mrairdon-midmark Closed Nov 23, 2025
💡 Likely answer: A maintainer (pakrym-oai, contributor) responded on this thread — see the highlighted reply below.

What version of Codex is running?

0.29.0

Which model were you using?

gpt-5

What platform is your computer?

Microsoft Windows NT 10.0.22631.0 x64

What steps can reproduce the bug?

Run codex exec with dangerously bypass rules and have it try to edit a file

What is the expected behavior?

It should be able to edit the file

What do you see instead?

It hangs

Additional information

_No response_

View original on GitHub ↗

5 Comments

pakrym-oai contributor · 11 months ago

Can you share more details, command line or the error?

mrairdon-midmark · 11 months ago

Command

codex exec --full-auto "make a little hello.md file that just says hello"

Error

No error... it just hangs forever.

<img width="574" height="157" alt="Image" src="https://github.com/user-attachments/assets/7b7912b8-b2c1-49c5-bd39-616c6eec508e" />

JonCrawford · 11 months ago

Happening on Mac too. It boots into read-only mode even when I've passed --full-auto.

!Image

JonCrawford · 11 months ago

It appears to be unexpected behavior between several different flags. Going down to just --full-auto (and not targeting a different directory) puts exec into full-auto.

etraut-openai contributor · 9 months ago

I think this bug is no longer relevant. If you're still seeing this with a recent version of codex, please open a new issue and use the /feedback slash command to upload details.