Main entrypoint to Wrap launching, called from pre hook.
  Source code in client/ayon_wrap/api/launch_logic.py
 | 21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37 | def main(subprocess_args):
    """Main entrypoint to Wrap launching, called from pre hook."""
    log.debug("launch_main")
    sys.excepthook = safe_excepthook
    subprocess_args.pop(0)  # remove launch_logic
    host = WrapHost(subprocess_args[-1])
    install_host(host)
    os.environ["OPENPYPE_LOG_NO_COLORS"] = "False"
    app = get_ayon_qt_app()
    host_tools.show_tool_by_name("sceneinventory")
    app.exec_()
    run_detached_process(subprocess_args)
 |