Launching elixir script with --no-halt and with command line arguments

Tags: #<Tag:0x00007f113e6df8e8>



I would like to have on final end a script launched this way ./my_script --conf ./my_path

This script must be a no-halt script (never ended) and must accept arguments. I’ve tried Escript and i thought that distillery release would fix the problem but i can’t find out how to pass command line arguments when launching release…

If anybody has a clue, i would be very thankful :wink:


Can you share a minified example project which shows your exact problem?

From your description alone I’m not quite sure what you are trying, expecting and actually having…


I’d think you could just ‘not’ return from your main function if you wanted it to persist?