rez icon indicating copy to clipboard operation
rez copied to clipboard

Rez auto delete rxt temp files make subprocess rez-context faild.

Open zclongpop123 opened this issue 10 months ago • 1 comments

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 ?

zclongpop123 avatar Apr 28 '24 08:04 zclongpop123

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.

maxnbk avatar Apr 28 '24 18:04 maxnbk