I believe the "quick" answer is that "exec" costs alot in terms of performance and blocking of the currently running process. The reason it cannot be used outside of blocks you mentioned may be related to "locking" issues.

The above is my best recollection.

I'm sure that reviewing the mailing lists or one of the developers can give you a more accurate and detailed answer.

Regards,
Norm

Jean-François SMIGIELSKI wrote:
Hello, all.

I would know why we should avoid using the exec module exported functions 
outside out the request_route and on_failure_route blocks? (and so ... why it 
is forbidden).

Answers carry useful informations (e.g. SDP) that we could want to parse with 
an external command.
Maybe is there a more appropriate way to achieve this, and I mail you for this 
reason.

Thanks once again,

JF Smigielski



________________________________________________________________________
iBELGIQUE, exprimez-vous !
http://web.ibelgique.com/
------------------------------------------------------------------------

_______________________________________________
Users mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Users mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/users

Reply via email to