Iex and -noshell

Hello everyone!

I need to run phoenix application inside iex with -noshell. I did

MIX_ENV=app_test iex --sname some_node --cookie somecookie --erl "-noshell" -S mix phx.server

and nothing happend. Node and application didn’t start. What is wrong?

If you want to run something without the shell, you can use elixir instead of iex:

MIX_ENV=app_test elixir --sname some_node --cookie somecookie -S mix phx.server
2 Likes