<p>In modules/exec/exec.c:</p>
<pre style='color:#555'>> +                        return -1;
> +                }
> +        }
> +
> +        if (errvar) {
> +                if (read_and_write2var(msg, &perr, errvar) < 0) {
> +                        LM_ERR("failed reading stderr from pipe\n");
> +                        return -1;
> +                }
> +        }
> +
> +        ret=1;
> +
> +error:
> +        if (outvar && ferror(pout)) {
> +                LM_ERR("reading pipe: %s\n", strerror(errno));
</pre>
<p><code>+ stdout</code></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/375/files#r19525424">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AFOciUItHanybvo79nSEc-YXDef0Oh83ks5nIKNSgaJpZM4Cz-_8.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/375/files#r19525424","name":"View Pull Request"}}</script>