<div dir="auto">Hi Albin,<div dir="auto"><br></div><div dir="auto">if you are starting the C node from the Erlang side, you can wrap the starting and monitoring of the C node in a tiny gen_server and in turn have that in a normal supervision tree.</div><div dir="auto"><br></div><div dir="auto">Cheers,</div><div dir="auto">Robby</div><div dir="auto"><br><div dir="auto"><br><br><div class="gmail_quote"><div dir="ltr">On Thu, 28 Mar 2019 08:27 Albin Stigö, <<a href="mailto:albin.stigo@gmail.com">albin.stigo@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto">I have a c node (written in golang) that I've written to interface with a particular library.<div dir="auto"><br></div><div dir="auto">I know how to monitor it, but I'm interested to know if there's some "off the shelf" Erlang API for supervising/restarting it or if I have to implement it myself.</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">--Albin</div></div>
_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org" target="_blank" rel="noreferrer">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" rel="noreferrer noreferrer" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
</blockquote></div></div></div></div>