<p>In modules/exec/exec.c:</p>
<pre style='color:#555'>> +                        goto error;
> +                }
> +
> +                if (ferror(pin)) {
> +                        ser_error=E_EXEC;
> +                        goto error;
> +                }
> +                pclose(pin);
> +        }
> +
> +        schedule_to_kill(pid);
> +        wait(&exit_status);
> +
> +        if (outvar) {
> +                if (read_and_write2var(msg, &pout, outvar) < 0) {
> +                        LM_ERR("failed reading from pipe\n");
</pre>
<ul class="task-list">
<li>stdout</li>
</ul>
<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#r19525389">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AFOciXlzH9VAvXZNOBg7A7QoV1nLQTLzks5nIKMigaJpZM4Cz-_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#r19525389","name":"View Pull Request"}}</script>