Return stdout and stderr along with the error