Cheerio everyone,
I'm currently tinkering with rez and trying to incorporate it in our Shotgun-based pipeline. Our studio is using windows throughout.
I can already launch DCC's, maya for now, via Shotgun Desktop in a rez resolved environment.
Now I want to re-resolve that same environment on any render node that picks up the job.
The idea is to store the resolved packages in the Deadline job's custom key-value store and read those packages as an argument for rez-env on a render node. This is already working however, I'm hitting a wall when executing that commmand.
How are you guys doing this? Are there any caveats to be aware of?
Here's what I did until now:
- inject a PreJobScript that adds a new callback to the plugins ModifyCommandLineCallback. This callback returns the path to a custom batch script which shall take care of running rez
- the batch script gets executed before the render starts. It configures PATH in order to run rez from the network installation of rez
- when the batch script gets executed the job fails with the following error message:
WARNING: Cannot write stdin to process because it is no longer runnning.
WARNING: Monitored managed process MayaBatch is no longer running
Any help or pushes in the right direction are much appreciated.
Cheers,
Tony