[OpenSIPS-Devel] [opensips] added exec(cmd, output, input, error, avpenv) function for exec (#375)

Walter Doekes notifications at github.com
Wed Oct 29 09:45:53 CET 2014

> @@ -51,6 +51,7 @@ int schedule_to_kill( int pid );
>   * @stream: stream to be returned to the caller
>   */
>  pid_t __popen(const char *cmd, const char *type, FILE **stream);
> +pid_t ___popen(const char *cmd, FILE **, FILE**, FILE**);

That's not very inventively named, is it? :-D

Python popen2 lib called it popen3:

    popen2.popen3(cmd[, bufsize[, mode]])

Perhaps `__popen3` is a better name.

Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20141029/256241bf/attachment.htm>

More information about the Devel mailing list