gemini-cli - 💡(How to fix) Fix Exit options don't terminate the session and close de cli [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
google-gemini/gemini-cli#25548Fetched 2026-04-17 08:55:22
View on GitHub
Comments
0
Participants
1
Timeline
2
Reactions
1
Author
Participants
Timeline (top)
labeled ×2
RAW_BUFFERClick to expand / collapse

What happened?

On WIndows 11 the terminate behavior don't work well, the /exit don't exit and commands on my guess not work. The Ctrl + C or D not work on the second hit.

0.40.0-nightly.20260415.g06e7621b2

Win 11

What did you expect to happen?

Terminate and for commands to execute the task

Client information

Commands are not working

Login information

N/A

Anything else we need to know?

N/A

extent analysis

TL;DR

The terminate behavior issue on Windows 11 may be related to the specific version or configuration, and checking for updates or trying alternative termination methods could help.

Guidance

  • Verify if the issue persists with the latest version of the software, as the provided version is a nightly build from April 2023.
  • Try using alternative methods to terminate the process, such as using the Task Manager or the taskkill command in the Command Prompt.
  • Check if the issue is specific to the /exit command or if other commands are also affected.
  • Investigate if there are any known issues or bugs reported for the specific version on Windows 11.

Notes

The provided information is limited, and it's unclear if the issue is specific to the software or a Windows 11 configuration problem. Further investigation and debugging may be necessary to determine the root cause.

Recommendation

Apply workaround: Try alternative termination methods, such as using the Task Manager or the taskkill command, to see if the issue is specific to the /exit command or the software's termination behavior.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

gemini-cli - 💡(How to fix) Fix Exit options don't terminate the session and close de cli [1 participants]