def METHOD_NAME(cmd, shell=True):
    if shell:
        cmd = ' '.join(cmd)
        _debug(cmd)
    else:
        _debug(' '.join(cmd))
    import subprocess
    returncode = subprocess.call(cmd, shell=shell)
    if returncode:
        sys.exit(returncode)