Subject: Re: [boost] Boost.Process: Formal review request
From: Boris Schaeling (boris_at_[hidden])
Date: 2012-12-12 17:47:05
On Sun, 09 Dec 2012 14:13:27 +0100, Klaim - Joël Lamotte
> On Sun, Dec 9, 2012 at 2:06 PM, Roland Bock <rbock_at_[hidden]> wrote:
>> I say: Do both.
>> * Abstract away all differences for those who do not care about platform
>> specific ways of doing this or that.
>> * Allow those who /do/ care to use platform specific methods in addition
>> (although I would prefer wrappers for system functions).
>> Just my 2ct. I'd fall under the first category.
> Exactly the same for me.
Sounds fair to me! And having added the header file
boost/process/mitigate.hpp recently users have now a choice. Some might
still not be happy with the options to choose from. But there is now a
choice at least. :) And as #ifdefs have been mentioned in other threads in
the previous months: The only use case I'm aware of where #ifdefs are
ultimately required is waiting asynchronously for child processes to exit.
For anything else it is possible to write cross-platform code (unless
someone uses intentionally features which are only available on one
platform, like file descriptors > 2 on POSIX). If anyone runs into a
problem here, please let me know and I see what I can do about it.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk