Erlang: Use run_erl in the [local] version?

I want to use run_erl to run the daemon of my version, but I don't want to officially install it and create an entry in $ ROOTDIR / release and all that. Unfortunately run_erl seems to depend on a little bootstrap that happens in release_handler: unpack_release / 1. Is there a way to use run_erl in a release that was built with the [local] option ?:

systools:make_script("example", [local]).

      

+2


source to share


1 answer


Well, I was building the target system following instructions from several tutorials, but it looks like it only uses the target_system.erl module here:

http://erlang.org/doc/system_principles/create_target.html



... does what I want. It creates a standalone system that I can put anywhere (without dropping $ ROOTDIR) and be able to boot inline.

0


source







All Articles