rez.utils.which#
- rez.utils.which.which(cmd, mode=1, path=None, env=None)#
A replacement for shutil.which.
Things we do that shutil.which does not:
Support specifying env
Take into account ‘%systemroot%’ possible presence in path (windows)
Take into account symlinks to executables (windows)