Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.1.2: subprocess fix #1

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
Open

0.1.2: subprocess fix #1

wants to merge 11 commits into from

Conversation

MrLixm
Copy link
Contributor

@MrLixm MrLixm commented Jan 18, 2025

Changelog

fixed

  • rez-env subprocess execution on UNIX system

changed

  • the launcher will now raise if it can't find a path to the rez-env executable
    using shutil.which.

chores

  • added e2e tests which actually call rez

problem reported by Luke on slack where rez-env was ignoring the list of package provided to it.
This was due to the combination of shell=True and command being a sequence, all ran on an UNIX system.

To address this issue I removed the shell argument and retrieve the path to the rez-env executable manually before.
slower but more reliable as we are really calling rez.
@MrLixm MrLixm added the bug Something isn't working label Jan 18, 2025
@MrLixm MrLixm self-assigned this Jan 18, 2025
@MrLixm MrLixm marked this pull request as ready for review January 18, 2025 11:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant