Reproduction steps:
- Open the attached "IN-152822" project
- Install Unity CLI (more information in the Internal Notes)
- Open a console in the extracted folder
- Run "chmod +x stub-editor-fails stub-editor-succeeds"
- Run "unity open ReproProject --editor-path ./stub-editor-succeeds ; echo exit=$?"
- Run "unity open ReproProject --editor-path ./stub-editor-fails ; echo exit=$?"
- Observe the console
Actual result: Both commands print only a Hub project registry warning and both report "exit=0"
Expected result: The second command reports exit code 6 and states that the Editor exited with code 1
Reproducible with: 1.0.0-beta.1, 1.0.0-beta.6
Reproducible environment: Ubuntu 24.04 LTS
Not reproducible environment: No other environments tested
Notes: