I would like to make system calls from Elixir/Erlang. I know Erlang has the OS module and Elixir has the System module but I can't figure out from those links how should I use sudo. I tried running this and I received an error:
> System.cmd("sudo su", [])
** (ErlangError) erlang error: :enoent
(elixir) lib/system.ex:450: System.cmd("sudo su", [], [])
Any ideas on how can I make this work?