[erlang-questions] open_port and port_close semantics

Camille Troillard <>
Thu Apr 30 12:50:09 CEST 2009


Hello,
I am trying to understand the semantics of open_port and port_close.
I was expecting port_close to send a quit signal to the child process, but
it merely close the file handlers from what I've read in the doc and
trapexit forums.

What is the reason behind this?
How do you make sure there are no leftover processes when the application
shuts down?


Thanks!
Cam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20090430/4c78f63a/attachment.html>


More information about the erlang-questions mailing list