Running a shell command when exiting an Elixir script

Because I want to have these as mix tasks, I don’t think I can call bash directly from a mix task AFAIK