rez.wrapper¶
- class rez.wrapper.Wrapper¶
Bases:
objectA Wrapper.
A wrapper is a tool created by a Suite. Wrappers reside in the ./bin directory of a suite. They are executable yaml files that are run with the internal ‘_rez-forward’ tool.
When a wrapper is executed, it runs the associated tool within the matching context in the suite.
- suite()¶
- run(*args)¶
Invoke the wrapped script.
- Returns:
Return code of the command, or 0 if the command is not run.