Merge "Throw an error if a shell command results in an error."