rez icon indicating copy to clipboard operation
rez copied to clipboard

Implement shell detection on windows

Open instinct-vfx opened this issue 2 years ago • 0 comments

Windows currently does not detect the shell it is being run from and uses cmd.exe if not explicitly overriden. See https://github.com/nerdvegas/rez/blob/1ecc85f638d11d70ed78d4bd9c5cdc6f32ac58c4/src/rez/system.py#L81

Motivation I think the original implementation predates PowerShell and pwsh support. With 3 major Shells supported on windows and PowerShell based shells being superior in many ways we should implement shell detection for at least PowerShell, pwsh and cmd.exe.

Related Issues/PRs

  • TBD

instinct-vfx avatar May 04 '22 20:05 instinct-vfx