How is main
function in 'erlang_ls' called?
#1214
mdbergmann
started this conversation in
General
Replies: 1 comment 1 reply
-
Erlang LS uses the "escript" feature to generate the executable - this includes calling the You can learn more here: https://www.erlang.org/doc/man/escript.html and here: https://rebar3.org/docs/commands/#escriptize |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello.
I'm still a bit new to Erlang. So, sorry for this of topic question.
In my 'release' app I'd also want to allow to pass in command line parameters.
So I'm wondering how in erlang_ls.erl the
main
function is actually called, what is the wiring that is required for this to work?I couldn't find anything in erlang_ls that I don't have, but then, it must be something.
Thanks,
Manfred
Beta Was this translation helpful? Give feedback.
All reactions