diff --git a/client/ayon_core/lib/execute.py b/client/ayon_core/lib/execute.py index 27af3d44ca..1eb2659a11 100644 --- a/client/ayon_core/lib/execute.py +++ b/client/ayon_core/lib/execute.py @@ -1,3 +1,4 @@ +from __future__ import annotations import os import sys import subprocess @@ -201,7 +202,9 @@ def clean_envs_for_ayon_process(env=None): return env -def _prepare_ayon_launcher_env(add_sys_paths: bool, kwargs): +def _prepare_ayon_launcher_env( + add_sys_paths: bool, kwargs: dict +) -> dict[str, str]: env = kwargs.pop("env", None) # Keep env untouched if are passed and not empty if not env: