[OpenSIPS-Devel] [opensips] added exec(cmd, output, input, error, avpenv) function for exec (#375)

Walter Doekes notifications at github.com
Wed Oct 29 09:36:55 CET 2014


> @@ -332,6 +332,76 @@ exec_getenv("HOSTNAME", "$avp(localhost)");
>  		</example>
>  	</section>
>  
> +	<section>
> +		<title>
> +		<function moreinfo="none">exec(command, [output], [input], [error],[envavp])</function>

Could you change that to [input], [output], [error] ? That makes sense for everyone familiar with standard unix convention (0=stdin, 1=stdout, 2=stderr). It's not too late to fix now.

And add a space before `[envavp]`.

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/pull/375/files#r19524707
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20141029/5dd4f4b0/attachment.htm>


More information about the Devel mailing list