[OpenSIPS-Devel] [opensips] added exec(cmd, output, input, error, avpenv) function for exec (#375)
Walter Doekes
notifications at github.com
Wed Oct 29 09:56:50 CET 2014
> + 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));
`+ stdout`
---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/pull/375/files#r19525424
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20141029/b20be388/attachment.htm>
More information about the Devel
mailing list