返回资讯中心
外部精选
软件工程
#开发者实时流

Tell HN: Claude CLI doesn't exit anymore, not even with CTRL-C

So I found myself surprised today that exiting the CLI with CTRL-C does not, in fact, close Claude CLI. What it does is it closes the agent's terminal interface, but it leaves a background process active, even if you di…

Hacker News 最新cromka2026/10/23 · 22 天前3 分钟阅读

以下正文同步自 Hacker News 最新,版权归原站所有,已转换为易读排版。

So I found myself surprised today that exiting the CLI with CTRL-C does not, in fact, close Claude CLI. What it does is it closes the agent's terminal interface, but it leaves a background process active, even if you didn't work on anything at all.Try it yourself: run claude, exit to main conversations list, close it immediately with CTRL-C or /exit, then ps ax|grep claude.Apparently it's not a bug, it's a "feature", introduced earlier this year. You need to disable Agent View (https://code.claude.com/docs/en/agent-view, disableAgentView in settings.json) to stop that behavior. But then you lose the ability to open the list all your chats in main view, effectively crippling it.This is yet another frustrating anti-pattern they introduce and it personally upsets me that 5 decades of established paradigms (CTRL-C is CTRL-C!) continue to be thrown out of the window just like that.I guess at 30k changes a day you kinda have to fell entitled to not care about anything legacy.EDIT: you can still show a list of chats with disableAgentView, just need an explicit claude --resume. It's a different UI, but with an actual search! Comments URL: https://news.ycombinator.com/item?id=50214693 Points: 3

Comments: 0

正文由 探How 从来源站点 RSS 同步,内容未经改写;遇到排版缺失或需要图片、视频时请以原文为准。

打开原文
去社区讨论 →