Fix accessing exit_code and stderr
Merge remote-tracking branch 'origin/master'