mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
Set running from console even for triggering from code
This commit is contained in:
parent
5810b4f719
commit
aaa12bbcc6
1 changed files with 4 additions and 1 deletions
|
|
@ -75,7 +75,10 @@ def is_using_ayon_console():
|
|||
return True
|
||||
executable_path = os.environ["AYON_EXECUTABLE"]
|
||||
executable_filename = os.path.basename(executable_path)
|
||||
return "ayon_console" in executable_filename
|
||||
return (
|
||||
"ayon_console" in executable_filename
|
||||
or "python.exe" in executable_filename
|
||||
)
|
||||
|
||||
|
||||
def is_headless_mode_enabled():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue