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