MuonTrap protects you from lost and out of control processes.
Wrap an OS process in a GenServer so that it can be supervised.