|
Boost : |
Subject: Re: [boost] Boost.Process: Formal review request
From: Boris Schaeling (boris_at_[hidden])
Date: 2012-12-12 16:44:24
On Sun, 09 Dec 2012 12:37:15 +0100, Oliver Kowalke
<oliver.kowalke_at_[hidden]> wrote:
> Could you add an example to boost.process' documentation which
> demonstrates
> how boost.process is used together with boost.asio in order to wait
> asynchronously on a child process?
> I think it is a common pattern on POSIX systems to establish an signal
> handler waiting on SIGCHLD and fetching the exit code.
I agree. That's why I really wanted to get support for asynchronous I/O
into Boost.Process. That said the example at
<http://www.highscore.de/boost/process0.5/boost_process/tutorial.html#boost_process.tutorial.waiting_for_a_program_to_exit>
is I think what you are looking for. :)
Boris
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk