Redirect cmd's stdout and stderr to stderr