[erlang-questions 88] Re: code:lib_dir and .ez archives

Max Lapshin <>
Mon Mar 28 16:01:44 CEST 2011


2011/3/28 Håkan Mattsson <>:
> On Mon, Mar 28, 2011 at 8:52 AM, Max Lapshin <> wrote:
>> There is other problem with escript: it cannot go background.
>> It would be very convenient for me to distribute erlyvideo in small
>> single-file launch scripts, but I can't do it because it doesn't allow
>> to go background.
>
> Yes, you can (forcefully) put it in background with the -detached option:
>
>    %%! -detached
>
> It is ugly, but it works.
>


I'll check it.
In fact, I need  os:daemonize()  =)



More information about the erlang-questions mailing list