mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
change how cwd is set for houdini process
This commit is contained in:
parent
ca1ef8a81d
commit
b95e79e0d0
1 changed files with 1 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue