Codex CLI calls on rg (ripgrep) persists despite prompt response is complete

Open 💬 2 comments Opened Dec 4, 2025 by 3SMMZRjWgS

What version of Codex is running?

Codex CLI 0.64.0

What subscription do you have?

ChatGPT Pro

Which model were you using?

gpt-5.1 high

What platform is your computer?

Windows 11 Pro (non-WSL); ripgrep (rg) 15.1.0

What issue are you seeing?

Codex calls on rg for file operations, but then once the prompt has been finished, the background rg process continues running. I have to go into Windows Task Manager to manually shut it down or else high CPU/SSD activities will persist even though the prompt response is complete.

What steps can reproduce the bug?

Uploaded thread: 019ae7c9-b8cc-7473-ad24-6940c802f282

What is the expected behavior?

rg and any other processes that were triggered in response to a prompt would be shut down once the prompt is responded and completed.

Additional information

_No response_

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗