Adde untested implementation of ReadPipeToArray() for Mac and Linux