Currently REZ_SAFEMODE operates at the command-line interface for Rez and has no effect on operating Rez from Python, e.g. rez.resolved_context.ResolvedContext().
Instead, move this to Shell.execute_shell() such that any invokation of Rez spawn a safe environment.
Currently
REZ_SAFEMODE
operates at the command-line interface for Rez and has no effect on operating Rez from Python, e.g.rez.resolved_context.ResolvedContext()
.Instead, move this to
Shell.execute_shell()
such that any invokation of Rez spawn a safe environment.