Gemini CLI patch fixes headless interruption: orphaned shells, exit codes, lost tool calls

Vara715 · ghdev · 2026-10-30

PR #30051 in google-gemini/gemini-cli fixes what happens when a headless run (gemini -p ... --yolo) is interrupted by Ctrl+C or a signal while runshellcommand is active:

Shared helpers like createCancelledToolCall moved into @google/gemini-cli-core for consistent cancellation handling. Fixes #30007, with unit tests and validation steps included.

Original post →

More from coding & agent

coding & agent channel →