change how cwd is set for houdini process

This commit is contained in:
Jakub Trllo 2022-08-25 16:13:02 +02:00
parent ca1ef8a81d
commit b95e79e0d0

View file

@ -1,5 +1,4 @@
from openpype.lib import PreLaunchHook
import os
class SetPath(PreLaunchHook):
@ -15,4 +14,4 @@ class SetPath(PreLaunchHook):
self.log.warning("BUG: Workdir is not filled.")
return
os.chdir(workdir)
self.launch_context.kwargs["cwd"] = workdir