changed class name and docstring

This commit is contained in:
iLLiCiTiT 2021-06-10 17:32:14 +02:00
parent 913f481959
commit c88fb84184

View file

@ -2,12 +2,13 @@ import subprocess
from openpype.lib import PreLaunchHook
class LaunchWindowsShell(PreLaunchHook):
"""Add shell command before executable.
class LaunchFoundryAppsWindows(PreLaunchHook):
"""Foundry applications have specific way how to launch them.
Some hosts have issues when are launched directly from python in that case
it is possible to prepend shell executable which will trigger process
instead.
Nuke is executed "like" python process so it is required to pass
`CREATE_NEW_CONSOLE` flag on windows to trigger creation of new console.
At the same time the newly created console won't create it's own stdout
and stderr handlers so they should not be redirected to DEVNULL.
"""
# Should be as last hook because must change launch arguments to string