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

Make sure add_dll_directory is always called with an absolute path. #2409

Conversation

marktucker
Copy link
Contributor

Make sure add_dll_directory is always called with an absolute path.
Calling it with a relative path on Windows raises an exception.
This would happen if the PATH variable contains a relative path.

Description of Change(s)

In the Tf init.py module, get the absolute path of each component of the PATH variable before calling add_dll_directory.

  • [ X ] I have verified that all unit tests pass with the proposed changes
  • [ X ] I have submitted a signed Contributor License Agreement

Calling it with a relative path on Windows raises an exception.
@tallytalwar
Copy link
Contributor

Filed as internal issue #USD-8274

@pixar-oss pixar-oss merged commit 56abb0b into PixarAnimationStudios:dev Jul 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants