return a non-zero error code if the PipedCommand was not successful
return non-success error code in the other case as well
Merge pull request #20 from colekowalski/exitcode

return a non-zero error code if the PipedCommand was not successful