Gracefully timeout during erlang:port_call/3?

zabrane Mikael zabrane3@REDACTED
Mon Oct 4 01:58:51 CEST 2010


Hi guys,

Is there a way to gracefully timeout (i.e without crashing the port
driver) during the synchronous call to "erlang:port_call/3"?
The idea here is to try to timeout if the port takes long time to return.

Any advice is welcome?
-- 
Regards
Zabrane


More information about the erlang-questions mailing list