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

Fix erlang noshell eval command to get path in otp26 #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

htdat148
Copy link

@htdat148 htdat148 commented Nov 23, 2023

For OTP 26, the erlang noshell eval command may run into trouble with OTP26.
You can see these errors below. To fix it, we need to change the position of -s init stop

Error! Failed to eval: io:format("~s/erts-~s/include/", [code:root_dir(), erlang:system_info(version)]).

Error! Failed to eval: io:format("~s", [code:lib_dir(erl_interface, include)]).

Similar issue can be found here: erlang/otp#6916

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.

1 participant