`/stop` does not clear background terminals shown by `/ps`

Resolved 💬 3 comments Opened Apr 10, 2026 by nbros Closed Apr 11, 2026

What version of Codex CLI is running?

v0.118.0

What subscription do you have?

Pro

Which model were you using?

gpt-5.4 fast

What platform is your computer?

macOS 26.4

What terminal emulator and version are you using (if applicable)?

Ghostty

What issue are you seeing?

/stop says it stopped all background terminals, but /ps still shows the same zombie terminal afterward.

What steps can reproduce the bug?

  1. Ask codex to run a task that creates a background terminal
  2. Run /ps
  3. Run /stop
  4. Run /ps again

The same background terminal is still listed after /stop.

What is the expected behavior?

After /stop, /ps should no longer show that terminal.

Additional information

````
• Stopping all background terminals.

/ps

Background terminals

• ls && find . -maxdepth 2 -name '.csproj' -o -name '.sln' && dotnet build -nolo [...]

• Stopping all background terminals.

/ps

Background terminals

• ls && find . -maxdepth 2 -name '.csproj' -o -name '.sln' && dotnet build -nolo [...]

View original on GitHub ↗

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