[erlang-questions] How to start an erlang applications from the command line non-interactively?

Jarrod Roberson <>
Mon May 5 21:59:16 CEST 2008


On Mon, May 5, 2008 at 2:35 PM, Jacob Torrey <>
wrote:

> Jarrod,
>  Use the command flag -noshell or -detatched with -run or -s to have it
>  not drop you back in interactive mode after it's done.
>
>                Jacob


-detached doesn't seem to do anything on windows, it just exits and my http
daemon doesn't run.
-noshell seems to work, what is the difference between the two options?

C:\src>erl -detached -s httpd start

C:\src>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20080505/3a976237/attachment.html>


More information about the erlang-questions mailing list