<div dir="ltr"><div><div><div>Hi,<br><br></div>I'm developing C-based program which should work as port. <br></div>Issue is when erlang process hardly killed (by exit(Pid,kill)) from observer for example. In this case C-process doesn't see what happen in Erlang node and continues to work. Is there some way to catch such situation in C?<br><br></div><div>It seems C-process sees nothing when erlang processe killed. I tried to catch signals (SIGPIPE and others). I run C-process under 'strace' and tried to gdb it. There are no messages/signals come to C-process excepting some read/write periodical messages which looks like heartbeat.<br><br></div><div>Maybe I need to make some 'monitor' or 'link' of Erlang process from C-process ... <br><br></div><div>BR<br></div><div>Kirill<br></div><br><br></div>