Add process.out to CommandFailed error

This add the process output to CommandFailed error.
What about code where this class is used? when they use the `err` var at this moment, they will start putting everything in the `out` var from this PR onwards. What about putting the `out` var at the end of the param list?