Subject: Re: [boost] [gsoc] Boost.Process done
From: Ilya Sokolov (ilyasokol_at_[hidden])
Date: 2010-08-24 18:02:24


On 25.08.2010 1:35, Boris Schaeling wrote:
> On Thu, 19 Aug 2010 22:40:14 +0200, Boris Schaeling <boris_at_[hidden]>
> wrote:
>
>> On Thu, 19 Aug 2010 22:34:36 +0200, Ilya Sokolov <ilyasokol_at_[hidden]>
>> wrote:
>>
>>> Boris Schaeling wrote (in the attached file):
>>> > File descriptors must be closed after context is instantiated as the
>>> > context constructor uses the behavior inherit which tries to dup()
>>> > stdin, stdout and stderr.
>>>
>>> Which makes me nervous (sorry) as it is superfluous in 90% of cases.
>>
>> Currently the standard constructor of the context class reproduces
>> standard behavior on POSIX systems (file descriptors are inherited).
>> Do you think this should be changed? Or it would be fine to provide
>> another constructor which expects up to three parameters to configure
>> stdin, stdout and stderr?
>
> Can you please comment on this one, too, Ilya? Maybe you missed this
> posting as the thread is rather huge now.

I'll have some spare time this weekend. In the meantime, could you
show the updated sources?