Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
zclongpop123 opened this issue Apr 28, 2024 · 1 comment
Open
Labels

Comments

@zclongpop123
Copy link
Contributor

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 ?

@maxnbk
Copy link
Contributor

maxnbk commented Apr 28, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants