[OpenSIPS-Users] Module EXEC exec command stdout stderr values

Bogdan-Andrei Iancu bogdan at opensips.org
Fri Oct 2 19:16:18 CEST 2015


Hi,

Thank you for your report!

Could you please open a bug report on GITHUB, so our developers can look 
into a fix it asap ?

Thank and regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 02.10.2015 18:27, sevpal wrote:
> Hi list, there seems to be a bit of inconsistency when using a 
> statement such as this:
> ...
> exec(“/usr/local/sbin/script.sh”,,”$var(out)”,”$var(err)”);
> ...
> if $var(err) had a value from another process it could hold contents 
> from memory. Not a big issue, but when performing a xlog() with those 
> variables, sometimes values show up from unrelated requests. This can 
> be misleading.
> I think if the function is successful, then $var(err) and $var(out) 
> should be set to empty.
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20151002/f8d56da6/attachment.htm>


More information about the Users mailing list