rez
rez copied to clipboard
Rez auto delete rxt temp files make subprocess rez-context faild.
Rez Version: >= 3.0
Command: rez-env houdini-20 -- houdini
Rez will auto delete the temp rxt files, and when I use rez-context --tools
in subprocess, command will faild,
Command '['rez-context', '--tools']' returned non-zero exit status 1.
and I find the reason is rxt file is not exists, So, how to keep rxt temp files in any way ?
This is for debugging, but perhaps this will do what you need.
https://rez.readthedocs.io/en/stable/environment.html#envvar-REZ_KEEP_TMPDIRS
Be aware you would need to cleanup TMPDIRs on your own afterward, they will be retained and can bloat the location of the tmpdirs.