Consume process stderr in addition to stdout so it doesn't block.

If there is any error output throw an exception.