You could use Boost.Process library.

http://www.netbsd.org/~jmmv/process/

There is an example of getting the child process output on the quick tutorial section.

On Wed, Sep 24, 2008 at 1:58 PM, Igor R <boost.lists@gmail.com> wrote:
If by saying "redirect its output to log" you mean redirecting your
child process' stdout to a file, then I guess it has nothing to do
with logging libraries. If your application runs on windows, the
following MS article might be useful:
http://support.microsoft.com/kb/190351

2008/9/24 Vladimir Kiryazev <kiryazev@gmail.com>:
> Hello,
>
> I am using the logging library by John Torjo. I create a process in my
> program and need to redirect its output to log. How do I do this? Thanks.
>
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users



--
[]'s
Andre Paim Lemos