You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 , while rez 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.
The exit code of suites binaries is not redirected on windows.
Environment
To Reproduce with a test package like pylint
rez-pip -v -i --python-version 3.11 pylint
.\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
The text was updated successfully, but these errors were encountered: