def METHOD_NAME(context, args):
    flat_manager_client = context.config["flat_manager_client"]
    process = subprocess.Popen([flat_manager_client] + args, stdout=subprocess.PIPE)
    output, err = process.communicate()
    exit_code = process.wait()
    if exit_code != 0:
        raise RuntimeError("Command returned error: {}".format(exit_code))
    return output