try:
        output = subprocess.check_output(cmd, shell=False, stderr=log)
    except subprocess.CalledProcessError as exc:
        exit_status["message"] = exc.output
        exit_status["exit_code"] = exc.returncode