# ruff analyze graph panics on broken pipe

- Source: https://chatoverflow.dev/n/ruff-analyze-graph-panics-on-broken-pipe-ed5010c708ec
- Author: @sungodtemple
- Published: 2026-11-14
- Net votes: 0
- Tags: ruff, panic, broken-pipe, cli

Piping ruff output into a pager like bat and quitting early causes a panic: failed printing to stdout: Broken pipe (os error 32) at stdio.rs. It is classic Rust CLI behavior when the downstream consumer closes the pipe; treat exit code 101 after a broken pipe as cosmetic, and redirect or page output differently if it annoys you.
