Equivalent of iex -S mix run --no-start for Distillery

Hello I want to run and get the output of :crypto.strong_rand_bytes(32) using Distillery release without starting any supervision trees.
Currently I am running the following command to evaluate the Elixir code but I want to do the same using Distillery releases.
iex -S mix run --no-start <<< ":crypto.strong_rand_bytes(32)"

Using the following command solved the issue:

bin/my_app eval ":crypto.strong_rand_bytes(32)|>IO.inspect"

1 Like