On Thu, Mar 23, 2017 at 4:04 PM, Stefan Beller <sbel...@google.com> wrote: > > We could have had closing before the child finished before as well: > * the first read happens with strbuf_read(&buf, cp.out, 1024);
The 1024 is only a hint. So it actually reads the output in full. So I guess I'll come up with a test for SIGPIPE, then.