Hi,
In your example, you pass environment to python script but it did not work for me.
clement
environment edit not pass in python?
2097 1 1- Clément HECTOR
- Member
- 5 posts
- Joined: 2月 2015
- Offline
- chrisgreb
- Member
- 603 posts
- Joined: 9月 2016
- Offline
The environmentedit node exports env vars to the task's process environment if the task is executed in a new process Your pythonscript is set to evaluate ‘in process’, which means it will execute in the current Houdini process, and therefore will only find the env vars set in the current Houdini process.
os.getenv
-
- Quick Links