Subject: Re: [boost] Boost.Process 0.5: Another update/potential candidate for an official library
From: Rob Stewart (robertstewart_at_[hidden])
Date: 2012-11-13 21:18:05
On Nov 13, 2012, at 2:38 PM, "Boris Schaeling" <boris_at_[hidden]> wrote:
> On Wed, 07 Nov 2012 23:29:09 +0100, Vicente J. Botet Escriba <vicente.botet_at_[hidden]> wrote:
>> // public data members
>> PROCESS_INFORMATION proc_info;
>> pid_t pid;
>> Are these really public members?
> The constructors allow you to instantiate child if you got process information or a pid for example from a third-party library. process_handle() is used by wait_for_exit() and terminate(). And proc_info and pid are public for convenience. If there is a preference to make the member variables private and define accessors - no objection from me.
Public and const is not a problem.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk