Skip to content

add optional paths to find_executable function#1649

Open
nebukadhezer wants to merge 2 commits intoynput:developfrom
dev-holobay:rez-bootstrap-modifications
Open

add optional paths to find_executable function#1649
nebukadhezer wants to merge 2 commits intoynput:developfrom
dev-holobay:rez-bootstrap-modifications

Conversation

@nebukadhezer
Copy link

Changelog Description

In order to use find executable in a broader scope, I added an optional paths kwarg to extend the actual search paths

Additional info

Testing notes:

@ynbot ynbot added the size/XS label Jan 15, 2026
@BigRoy BigRoy added community Issues and PRs coming from the community members type: enhancement Improvement of existing functionality or minor addition labels Jan 15, 2026
@iLLiCiTiT
Copy link
Member

Hello, may I ask about the use-case?

@nebukadhezer
Copy link
Author

I use the function to look for executables in an env that is not os.environ.
this is used here ynput/ayon-applications#124
Rez is used to resolve an env in a prelaunch hook and then we search for the executable in the launch_context.env which was modified by the hook. I hope that explains it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community Issues and PRs coming from the community members size/XS type: enhancement Improvement of existing functionality or minor addition

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants