<p>In modules/exec/README:</p>
<pre style='color:#555'>> + * output - pseudovariable where to store the output from the
> + standard output of the command. Keep in mind that if this
> + parameter is set, the async paramater will not be taken in
> + consideration.
> + * input - String to be passed to the standard input of the
> + command. The string can be given as a pseudovariable.
> + * envavp - Avp where to store the values for the environment
> + variables to be passed for the command. The names of the
> + environment variables will be "OSIPS_EXEC_#" where # will
> + start from 0. For example if you store 2 values into an avp
> + ("a" and "b") OSIPS_EXEC_0 will contain the first value and
> + OSIPS_EXEC_1 the second value.
> +
> + WARNING: any OpenSIPS pseudo-vars which may contain special
> + bash characters should be placed inside quotes, e.g.
> + exec_getenv("'$ct'");
</pre>
<p>getenv? And if you require single quotes, shouldn't you also require the contents to be quoted? Or a single quote in $ct would undo the first quote...</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/OpenSIPS/opensips/pull/360/files#r18956585">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/5479561__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcyOTA4NzM2MywiZGF0YSI6eyJpZCI6NDU5OTk0NjB9fQ==--a80272f3e3c3160d3ba1cfebbc8fb8c44495af54.gif" width="1" /></p>
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","description":"View this Pull Request on GitHub","action":{"@type":"ViewAction","url":"https://github.com/OpenSIPS/opensips/pull/360/files#r18956585","name":"View Pull Request"}}</script>