Remove race condition reading process output
Merge pull request #38 from stevebriskin/master

Remove race condition when reading process output