|
Boost : |
Subject: Re: [boost] [process] Formal Review starts today, 27 October
From: Klemens Morgenstern (klemens.morgenstern_at_[hidden])
Date: 2016-10-31 18:50:11
Am 31.10.2016 um 23:41 schrieb Gavin Lambert:
> On 1/11/2016 11:13, Klemens Morgenstern wrote:
>>> bp::std_out = stdout
>>> bp::std_out = "output.txt"
>>> bp::std_in = "input.txt"
>>
>> This is allowed syntax, as is bp::std_out(stdout). I personally like the
>> < and > syntax very much, but for those who don't there are
>> alternatives.
>
> I don't see that mentioned anywhere in the docs, not even in the
> reference section. Did I miss it?
>
> Also, while on the topic of missing things, the "Extensions" section
> mentions on_setup/on_error/on_success, but these don't appear to be
> listed in the Reference and it's unclear to me what purpose they serve
> (especially on_setup, which at first glance seems indistinguishable
> from just writing the code prior to calling the launch function).
>
It's hidden quite well, it's at the end of each section (i.e.
file/pipe/close/null):
http://klemens-morgenstern.github.io/process/boost/process/std_out.html
Though I just realized, that there is no std_out("output.txt"), just the
'='.
>
>
> _______________________________________________
> 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