File tree Expand file tree Collapse file tree 1 file changed +12
-11
lines changed
Expand file tree Collapse file tree 1 file changed +12
-11
lines changed Original file line number Diff line number Diff line change @@ -35,17 +35,17 @@ defmodule Expert.EngineNode do
3535 dist_port = Forge.EPMD . dist_port ( )
3636
3737 args =
38- [
39- "--erl" ,
40- "-start_epmd false -epmd_module #{ Forge.EPMD } ",
41- "--cookie ",
42- state . cookie ,
43- "--no-halt" ,
44- "-e ",
45- "System.argv() |> hd() |> Base.decode64!() |> Code.eval_string() ",
46- project_node_eval_string ( state . project )
47- | path_append_arguments ( paths )
48- ]
38+ path_append_arguments ( paths ) ++
39+ [
40+ "--erl ",
41+ "-start_epmd false -epmd_module #{ Forge.EPMD } ",
42+ "-- cookie" ,
43+ state . cookie ,
44+ "--no-halt ",
45+ "-e ",
46+ "System.argv() |> hd() |> Base.decode64!() |> Code.eval_string()" ,
47+ project_node_eval_string ( state . project )
48+ ]
4949
5050 env =
5151 [
@@ -86,6 +86,7 @@ defmodule Expert.EngineNode do
8686 { :ok , _ } ->
8787 unquote ( port_mapper ) . register ( )
8888 IO . puts ( "ok" )
89+
8990 { :error , reason } ->
9091 IO . puts ( "error starting node:\n \# {inspect(reason)}" )
9192 end
You can’t perform that action at this time.
0 commit comments