Handle filenames with $ better

Resolved 💬 1 comment Opened Aug 28, 2025 by lawrencecchen Closed Oct 28, 2025

What version of Codex is running?

codex-cli 0.25.0

Which model were you using?

gpt-5 model_reasoning_effort="high"

What platform is your computer?

Darwin 24.5.0 arm64 arm

What steps can reproduce the bug?

Make a filename that includes $ and see how codex opens it

<img width="517" height="124" alt="Image" src="https://github.com/user-attachments/assets/477e6be0-7b93-420f-a829-b888487a303a" />

What is the expected behavior?

Ideally, the agent gets the path right on the first try by either wrapping the filename with quotes or escaping the dollar sign

What do you see instead?

Agent has to use tools to navigate directories and read files instead of just a single bash script.

Additional information

_No response_

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗