Boost logo

Boost :

Subject: Re: [boost] [gsoc] Boost.Process done
From: Boris Schaeling (boris_at_[hidden])
Date: 2010-08-21 17:03:34


On Sat, 21 Aug 2010 15:59:36 +0200, Ilya Sokolov <ilyasokol_at_[hidden]>
wrote:

> On 21.08.2010 17:13, Boris Schaeling wrote:
>> On Thu, 19 Aug 2010 23:58:08 +0200, Ilya Sokolov <ilyasokol_at_[hidden]>
>> wrote:
>>>
>>> 1. Before creating any new file (such as in bpb::pipe::create()
>>> or bpb::dummy::create(), not sure about bpb::inherit::create()), you
>>> could "occupy" fds which behavior has been set to != bpb::inherit.
>>
>> Then a behavior class would somehow need to know what another behavior
>> class has been doing? The constructors of the behavior classes would
>> need access to the context object to check the other stream behaviors?
>
> Not necessarily. create_child() could do all the job.
> In fact, it does in all other drafts.

Problem fixed (in create_child() now) and test case checked in. I'll look
into shell() next.

Boris


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