[erlang-questions] Daemonize escript

Max Lapshin <>
Wed Feb 9 00:23:30 CET 2011


Looking at sources, it seems impossible without escript rewriting.

It runs halt right after Module:main(), so erlyvideo should not return
from main untill it needs to be alive.



On Wed, Feb 9, 2011 at 2:19 AM, Max Lapshin <> wrote:
>>>
>>
>> Have you tried `rebar escriptize` to do this?
>>
>
> I need a bit more complicated script, because I have to collect files
> from other packages.
> However, problem still remains:
> when I launch erlyvideo:start(), it launches supervisor and returns.
> After this escript stops and everything is turned off.
>


More information about the erlang-questions mailing list