Hello.
I was playing with running escript in "-mode embedded" which works with Erlang escripts but if you use the :emu_args option in mix to add it to an escript_build app in elixir, it fails.
Reason seems to be that the code generated is put into a new module generated by macros. This module then cannot be loaded when following the "-mode embedded" directive - it is not found, and the application/script will not run.
I was hoping somebody might be interested into looking into this.