Elm init hangs in mix task

I don’t know Elm, but would this work?

Mix.shell.cmd("elm init -y")