|
Boost : |
Subject: Re: [boost] [boost-process] Beta & Review
From: Zach Laine (whatwasthataddress_at_[hidden])
Date: 2016-07-18 10:12:10
This submission looks like it's heading very much in the right direction.
We really need a standard facility for process launches, and this a Boost
lib is a good first step.
I submitted a PR for a documentation typo, but other than that, I only have
one note. From the docs:
"Async pipes use named pipes on windows. Therefore an exception is thrown
if a pipe was not constructed as a named pipe and is converted to an
async_pipe"
It is widely considered to be bad practice to throw on programmer errors.
It sounds like you should be asserting on invalid async_pipe conversions,
since the precondition for doing so has not been met. Throwing is for
conditions that could not have been fixed at the time the user wrote the
code (like a failed parse of something read off a wire, for instance).
Zach
On Mon, Jul 18, 2016 at 8:40 AM, Klemens Morgenstern <
klemens.morgenstern_at_[hidden]> wrote:
> Hi,
>
> boost-process is now in beta, you can check it out here:
> https://github.com/klemens-morgenstern/boost-process
>
> and read the doc here: http://klemens-morgenstern.github.io/process/
>
> It will probably be in review in the beginning of November, Antony
> Polukhin will be the review manager. I really hope I'll get some feedback
> before that, so I can work on the weak points and also get more detailed in
> the documentation.
>
> Thanks,
>
> Klemens
>
>
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost
>
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk