-
fix: audit fix — avoid latent stdout pipe deadlock in run_command (v0.8.3)
released this
2026-04-24 13:01:48 +02:00 | 2 commits to main since this releasePiping stdout without draining while blocking in child.wait() risks deadlock
if a command writes more than one OS pipe buffer (~64 KB on Linux). Current
callers (systemctl, niri msg, loginctl) stay well under that, but the
structure was fragile. stdout is now discarded; stderr continues to be
captured for error reporting.Downloads