Now we can start the application from the commandline, and still use supervisors.

This commit is contained in:
Jonatan Pålsson 2011-02-01 16:05:11 +01:00
parent 72e411aee9
commit af75d731b4
7 changed files with 20 additions and 4 deletions

View file

@ -23,6 +23,8 @@ parse(Data) ->
[RefID, "__echo", Length, Msg ] ->
{Ref, _} = string:to_integer(RefID),
{echo, Ref, Length, Msg};
["__crash"] ->
{crash, 0};
[RefID, Command, _, Parameter ] ->
{cmd, Command, Parameter};
Other ->