See Re^6: Pipe Problem
In reply to Re: IPC::Run::run and buffering by BrowserUk in thread IPC::Run::run and buffering by rovf