rez
rez copied to clipboard
Implement shell detection on windows
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