On 6/4/2016 3:52 PM, Klemens Morgenstern wrote:
Hi all,
the boost.process 0.6 library is now in alpha, that is: it has some (compiling) examples, a documentation and tests that pass on windows as well as on linux.
It basically allows you to manage a process like this:
pstream pipe;
child c("some_prog", "--some-arg", env["PATH"]+="C:/stuff", std_in < "data.csv", std_out > pipe, std_err > null, start_dir="./bin");
std::string data; pipe >> data;
c.wait(); cout << c.exit_code() << endl;
You can find the documentation here: http://klemens-morgenstern.github.io/process/ Get the source code from here: https://github.com/klemens-morgenstern/boost-process
I would like to immediately suggest that when you show a code example with no explanation of what it is doing that you put comments in the code example. This should be true whether the code example is in a message or in your docs.