process: New function process_run_capture().
authorBen Pfaff <blp@nicira.com>
Wed, 15 Jul 2009 19:45:44 +0000 (12:45 -0700)
committerBen Pfaff <blp@nicira.com>
Thu, 16 Jul 2009 16:17:06 +0000 (09:17 -0700)
commitb5dae6846aa511ce4347ce988beb685ad20afdcb
treec3c905f36a43e5c8ac148f3fc196af1e0935c1f7
parent1fa39e1d50ea5f836d24c91d0651dda315e91c42
process: New function process_run_capture().

In an upcoming commit, ovs-brcompatd will need to create a subprocess and
capture both its stdout and stderr separately, which one cannot do with
simple interfaces such as popen().  This function provides that ability.
lib/process.c
lib/process.h