def METHOD_NAME(name: str):
    """
    Find the location of the given executable.
    :return: the absolute path to the executable.
    :rtype: str
    """
    executable = spawn.find_executable(name)
    if not executable:
        raise Exception(f"No {name!r} command found.")
    return executable