[erlang-questions] Supervisor and port applications

Andrew Stone <>
Fri Feb 27 18:26:17 CET 2009


Yes. I do it all the time. Just make sure you trap the exit from the port. The port is not linked to its controlling process so you need to trap the exit and restart the port itself or just make your supervised controlling process exit when it receives the port 'EXIT' signal.

-Andrew



----- Original Message ----
From: Dave Bryson <>
To: 
Sent: Friday, February 27, 2009 12:08:13 PM
Subject: [erlang-questions] Supervisor and port applications

I have some "agents" that are written in Ruby and I'd like to take  
advantage of an Erlang Supervisor to manage them.  Is it feasible/ 
recommended to use a Supervisor to manage a Port based application?

Thanks,
Dave
_______________________________________________
erlang-questions mailing list

http://www.erlang.org/mailman/listinfo/erlang-questions




More information about the erlang-questions mailing list