in reply to Re: open3 buffering in linux vs. os x
in thread open3 buffering in linux vs. os x

That solves an entirely different problem (which could be solved better using select). ProFit's data isn't waiting in the pipe, it's waiting the process's output buffer (a memory block in the C library).