pre_launch_args
Attempt to get arguments from server pre-launch.
ComfyPrelaunchHook
Bases: PreLaunchHook
Launch arguments preparation.
Hook add python executable and script path to AE implementation before AE executable and add last workfile path to launch arguments.
TODO: REVISE THIS, LIFTED FROM AFTEREFFECTS
Source code in client/ayon_comfyui/hooks/pre_launch_args.py
46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 | |
execute()
Abstract execute method where logic of hook is.
Source code in client/ayon_comfyui/hooks/pre_launch_args.py
60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 | |
get_launch_kwargs(kwargs=None)
Returns Explicit setting of kwargs for Popen.
A client process to the launched ComfyUI should use these.
Expected behavior - ayon_console opens window with logs - ayon has stdout/stderr available for capturing
Source code in client/ayon_comfyui/hooks/pre_launch_args.py
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | |