def METHOD_NAME(cls, app, server_url):
    from openpype.hosts.tvpaint.worker import main
    executable = app.find_executable()
    if not executable:
        raise ValueError((
            "Executable for app \"{}\" is not set"
            " or accessible on this workstation."
        ).format(app.full_name))
    return main(str(executable), server_url)