"be careful with the instructions you are executing [rpc]" Why?

The Mix Release documentation states the following with regards to rpc commands:

Another way to run commands is with rpc , which will connect to the system currently running and instruct it to execute the given expression. This means you need to guarantee the system was already started and be careful with the instructions you are executing. You can also use remote to connect a remote IEx session to the system.

This raised a question for me: what are the dangers hinted at here of runing rpc?

Is it that one could impact normal running application processes whereas eval would run things in a more contained way? Any additional explanation and/or examples would be super helpful.

Thank you!

1 Like