fix silent failure when child process errors
Merge pull request #5 from anandthakker/master

fix silent failure when child process errors