Open
Description
The exit code of suites binaries is not redirected on windows.
Environment
- OS : windows 10
- Rez version : 3.2.1
- Rez python version : Python 3.11.4
To Reproduce with a test package like pylint
rez-pip -v -i --python-version 3.11 pylint
- Create a suite with the pylint package
- Create a file with incorrect python file
.\pylint_suite\bin\pylint.exe.cmd .\file.py ; echo $LastExitCode
return code is 0 , whilerez env pylint -- pylint file.py ; echo $LastExitCode
returns a non zero code. (You can use%errorlevel%
in cmd).
Expected behavior
The return code should not be 0.
Actual behavior
The return code is always 0
Related Issues/PRs