-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
don't use realpath in Sys.which #40233
Conversation
Actually, @vtjnash noted in #26559 (comment) that |
Test failures look related (I think tests are specifically testing the use of realpath). |
Updated the tests to use |
Tests are green; should be good to merge. |
Or at least, the tests were green. Now I'm seeing an apparently unrelated error:
|
Looks like this is failing a spawn test on Win64? |
That macOS failure is fixed on master |
Whoops, yes, now it is failing that test because of the
I just pushed a commit to fix that. |
Co-authored-by: Jameson Nash <vtjnash@gmail.com>
1060af1
to
a369d4e
Compare
As [discussed recently on discourse](https://discourse.julialang.org/t/weird-sys-which-function/58070), some programs require a certain executable name to function correctly, and behave badly if you call `realpath` to expand symbolic links (potentially changing the program name). c.f. discussion in JuliaLang#26559, implemented `Sys.which`
As [discussed recently on discourse](https://discourse.julialang.org/t/weird-sys-which-function/58070), some programs require a certain executable name to function correctly, and behave badly if you call `realpath` to expand symbolic links (potentially changing the program name). c.f. discussion in JuliaLang#26559, implemented `Sys.which`
As [discussed recently on discourse](https://discourse.julialang.org/t/weird-sys-which-function/58070), some programs require a certain executable name to function correctly, and behave badly if you call `realpath` to expand symbolic links (potentially changing the program name). c.f. discussion in JuliaLang#26559, implemented `Sys.which`
As discussed recently on discourse, some programs require a certain executable name to function correctly, and behave badly if you call
realpath
to expand symbolic links (potentially changing the program name).#26559 by @staticfloat implemented
Sys.which
, but there doesn't seem to have been any discussion about whetherrealpath
was a good idea.