Skip to content

Prevent .erlang from prepending string to the erl root dir#607

Merged
lrascao merged 1 commit intoerlware:masterfrom
bitnitdit:find_erts_dir_via_boot_no_dot_erlang
Sep 12, 2017
Merged

Prevent .erlang from prepending string to the erl root dir#607
lrascao merged 1 commit intoerlware:masterfrom
bitnitdit:find_erts_dir_via_boot_no_dot_erlang

Conversation

@bitnitdit
Copy link
Copy Markdown
Contributor

Any output string from .erlang to stdout will be prepend to
code:root_dir(), so it will cause the retrieved dir incorrect.

The fix is to start erl with the no_dot_erlang boot file.

Any output string from .erlang to stdout will be prepend to
code:root_dir(), so it will cause the retrieved dir incorrect.

The fix is to start erl with the no_dot_erlang boot file.
@lrascao lrascao merged commit 36e0ad4 into erlware:master Sep 12, 2017
@lrascao
Copy link
Copy Markdown
Collaborator

lrascao commented Sep 12, 2017

thanks!

@bitnitdit bitnitdit deleted the find_erts_dir_via_boot_no_dot_erlang branch September 12, 2017 12:33
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.

2 participants