mirror of
https://github.com/storytold/craft-libs.git
synced 2026-12-01 02:36:54 +01:00
close waited for the stderr thread only as long as close_grace, so with a short or zero grace the bytes still in the pipe when the child exited could be missing from CloseOutcome::stderr. It now waits up to 5 s after the child exits, and only a process that keeps the child's stderr open waits that long.