Apply EnvironmentDict to another and Rex confusion. #1355
-
Hello. I'm digging a little bit into rez.rex, and I'm having a hard time wrapping my head around it. Maybe I'm not even looking in the right place so I'll explain my main problem, then what I was currently thinking. Main issue: My thinking:
This way, whether an env was appended/prepended/set/unset would be respected. Am I completely looking in the wrong place? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
It might be possible to take that kind of approach, but honestly I think you're overthinking it! How about -
I'm sure we could improve the rex API to support things like playing the actions of one Executor onto another, but tbh this kind of thing is not the primary goal of rez and I don't think we'd benefit from spending resources on that. As its own project though - ie a python-based, shell-agnostic language that can transpile(?) to any number of target shell languages - it would absolutely make sense do to this kind of work. Rex itself could definitely be its own project, but that's not where we are presently. |
Beta Was this translation helpful? Give feedback.
It might be possible to take that kind of approach, but honestly I think you're overthinking it! How about -
I'm sure we could improve the rex API to support things like playing the actions of one Executor onto another, but tbh this kind of thing is not the primary goal of rez and I don't think we'd benefit from spending resources on that. As its own project though - ie a python-based, shell-agnostic language that can trans…