>> > > 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.