<p>In modules/exec/kill.h:</p>
<pre style='color:#555'>&gt; @@ -51,6 +51,7 @@ int schedule_to_kill( int pid );
&gt;   * @stream: stream to be returned to the caller
&gt;   */
&gt;  pid_t __popen(const char *cmd, const char *type, FILE **stream);
&gt; +pid_t ___popen(const char *cmd, FILE **, FILE**, FILE**);
</pre>
<p>That's not very inventively named, is it? :-D</p>

<p>Python popen2 lib called it popen3:</p>

<pre><code>popen2.popen3(cmd[, bufsize[, mode]])
</code></pre>

<p>Perhaps <code>__popen3</code> is a better name.</p>

<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#r19525000">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AFOciei394pK6hIEruei_NDeiAe8NtF5ks5nIKDBgaJpZM4Cz-_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#r19525000","name":"View Pull Request"}}</script>