def METHOD_NAME(args):
    """Execute the command and return its output.
    Raise a AnalysisABSubmitError on failure.
    """
    try:
        return util.command_output(args).stdout
    except subprocess.CalledProcessError as e:
        raise ABSubmitError(
            '{} exited with status {}'.format(args[0], e.returncode)
        )