Log stderr when running shell commands