Capture shell command stderr to display on nonzero exit code.