Skip to content

Codex doesn't kill hung background task #8740

@Wildebeest

Description

@Wildebeest

What version of Codex is running?

codex-cli 0.77.0

What subscription do you have?

Pro

Which model were you using?

gpt-5.2-codex high

What platform is your computer?

Linux 6.17.4-76061704-generic x86_64 x86_64

What issue are you seeing?

User: Kill the background terminal

Agent: • No background terminal session is running on my side — all prior commands completed. If you meant a
specific process (or a named shell/session), tell me which one and I’ll stop it.

1 background terminal running · /ps to view

What steps can reproduce the bug?

  1. Have it kick off a hung background task
  2. Repeat the same task but it completes
  3. Ask it to kill the task from 1

Uploaded thread: 019b7108-2d84-7732-bb9e-6db5b22193b3

What is the expected behavior?

It kills the task.

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    CLIIssues related to the Codex CLIbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions