Be sure to strip whitespace from shell output.