Boost logo

Boost :

Subject: Re: [boost] Integrating Boost.Process and Boost.Asio
From: Boris (boriss_at_[hidden])
Date: 2008-10-03 15:15:05


On Fri, 03 Oct 2008 19:45:25 +0200, Johannes Brunen <JBrunen_at_[hidden]>
wrote:

Hi Johannes,

> I tried the Process library with msvc .net 2008 (vc9) sp1 on win XP sp3.
> However, the example async_io.cpp does not work properly. The function
> end_read does not be called at all neither in debug nor in release mode.

oh, looks like I forgot to call io_service.run(). Can you please try the
attached file? I could build it with MSVC 2008 SP1 and run it successfully.

> [...]Maybe not an asio service object but a lightweight wrapper of the
> object.
> I would hide the usage of asio from the Process interface.

Thanks for your comment!

Boris



Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk