<p>In modules/exec/exec.c:</p>
<pre style='color:#555'>&gt; +                        goto error;
&gt; +                }
&gt; +
&gt; +                if (ferror(pin)) {
&gt; +                        ser_error=E_EXEC;
&gt; +                        goto error;
&gt; +                }
&gt; +                pclose(pin);
&gt; +        }
&gt; +
&gt; +        schedule_to_kill(pid);
&gt; +        wait(&amp;exit_status);
&gt; +
&gt; +        if (outvar) {
&gt; +                if (read_and_write2var(msg, &amp;pout, outvar) &lt; 0) {
&gt; +                        LM_ERR(&quot;failed reading from pipe\n&quot;);
</pre>
<ul class="task-list">
<li>stdout</li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<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>