Now we can start the application from the commandline, and still use supervisors.
This commit is contained in:
parent
72e411aee9
commit
af75d731b4
7 changed files with 20 additions and 4 deletions
|
@ -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 ->
|
||||
|
|
Reference in a new issue