in reply to Re^2: Calling strace -f
in thread Diagnosing blocking io (or: finding the WHY of my Open2 woes).

Update: Ignore this post. I misunderstood the issue

Buy why is it calling close(0)? And why is it different when it's connected to a terminal? SIGPIPE?

I see three possible solutions: