This was my current program.
sudo nohup erl -sname foo -pa ./ebin -run foo_supervisor shell -noshell -noinput &
where the shell function looks something like this:
shell() -> {ok, Pid} = supervisor:start_link({local,?MODULE}, ?MODULE, _Arg = []), unlink(Pid).
If I do not disconnect from the shell, it immediately stops for some reason. Is there a way that I can just start my application as usual, i.e. application: start (foo). So what if I want to start sasl too? Also, where could I learn more about creating a standalone package using fittings?
source share