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

Max Lapshin max.lapshin@REDACTED
Mon Mar 28 17:16:02 CEST 2011


Maybe just add something like os:daemonize() ?


main(Args) ->
  ....
  init stuff
  ....
  case lists:member("-d", Args) of
    true -> os:daemonize();
    false -> launch_shell()
  end.

?



More information about the erlang-questions mailing list