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

jlcall hangs without error if there are multiple Julia installations #7

Closed
pdetrempe opened this issue Aug 17, 2022 · 3 comments
Closed

Comments

@pdetrempe
Copy link

I had multiple julia folders in my ~\AppData\Local\Programs directory on Windows, causing the runtime string here to take up multiple lines (and therefore be invalid). Just a heads up that there's no warning/error for this behavior.

@jondeuce
Copy link
Owner

Thanks for the heads up! I didn't realize that where may return multiple executable paths.

What would be the expected behaviour in your opinion? I can either:

  • a) silently use the first executable path returned by where,
  • b) use the first executable path but additionally warn that multiple julia executables were found, or
  • c) throw an error indicating that multiple julia executables were found on the path, and require that the user set the 'runtime' flag explicitly.

My inclination is that (b) is the most convenient option.

@pdetrempe
Copy link
Author

I agree that (b) makes the most sense. I didn't see the runtime option before, thanks!

@jondeuce
Copy link
Owner

Fixed in latest commit.

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

No branches or pull requests

2 participants