<a href="http:&#x2F;&#x2F;tjheeta.github.io&#x2F;2014&#x2F;12&#x2F;24&#x2F;elixir-external-process-supervisor-restart-pattern&#x2F;" rel="nofollow">http:&#x2F;&#x2F;tjheeta.github.io&#x2F;2014&#x2F;12&#x2F;24&#x2F;elixir-external-process-...</a><p>Someone has also written a library for this, but I&#x27;ve forgotten where it is.