Re: [libvirt] [PATCH] command: allow merging stdout and stderr in string capture

2012-02-03 Thread Eric Blake
On 02/02/2012 06:10 PM, Laine Stump wrote: > On 02/02/2012 07:17 PM, Eric Blake wrote: >> Sometimes, its easier to run children with 2>&1 in shell notation, >> and just deal with stdout and stderr interleaved. This was already >> possible for fd handling; extend it to also work when doing string >

Re: [libvirt] [PATCH] command: allow merging stdout and stderr in string capture

2012-02-02 Thread Laine Stump
On 02/02/2012 07:17 PM, Eric Blake wrote: Sometimes, its easier to run children with 2>&1 in shell notation, and just deal with stdout and stderr interleaved. This was already possible for fd handling; extend it to also work when doing string capture of a child process. * docs/internals/command

[libvirt] [PATCH] command: allow merging stdout and stderr in string capture

2012-02-02 Thread Eric Blake
Sometimes, its easier to run children with 2>&1 in shell notation, and just deal with stdout and stderr interleaved. This was already possible for fd handling; extend it to also work when doing string capture of a child process. * docs/internals/command.html.in: Document this. * src/util/command.