返回全部动态
llama.cpp b11299:修复 CLI 在 stdin EOF 时的退出行为
原标题:b11299
AI 摘要
llama.cpp 发布 b11299 版本,主要修复 CLI 在 stdin 到达 EOF 时的退出行为。此前 Windows 上简单输入读取器在 stdin EOF 时会向控制台所有进程广播 CTRL_C_EVENT,导致监督代理等无关进程被杀;POSIX 及高级读取器则会无限循环打印提示符。本次改动取消该广播,将空读取视为 EOF,并修复了单独输入“/”被误判为 EOF 的问题,同时让 mtmd-cli 在 EOF 时正确停止。
以上摘要由 AI 生成,可能存在误差。事实请以原文为准。
正文节选
<details open> cli: exit on stdin EOF and drop the console wide Ctrl+C broadcast (#29722) * cli: exit on stdin EOF and drop the console wide Ctrl+C broadcast On Windows the simple input reader sends CTRL_C_EVENT to every process attached to the console when stdin reaches EOF, killing unrelated processes such as a supervising agent. The CLI only stopped on EOF because of that self inflicted SIGINT; on POSIX, and with the advanced reader, it spins forever printing prompts. Drop the broadcast s
发布时间:2026-10-01 04:49
抓取时间:2026-10-01 05:40
来源机构:ggml-org