From https://pstreams.sourceforge.net/ : // remove some files, capturing any error messages std::vector<std::string> argv; std::vector<std::string> errors; argv.push_back("rm"); argv.push_back("./foo.txt"); argv.push_back("./bar.html"); redi::ipstream in("rm", argv, pstreambuf::pstderr); std::string errmsg; while (std::getline(in, errmsg)) { errors.push_back(errmsg); } Should "rm" be pushed onto the vector? It is provided again in the ipstream declaration. Why twice?
Note from the future... Any progress here? 3.1 still indenting extern.
astyle not finding project's .astylerc file.
I am working with greyscale and color rasters that I need to convert to bitmaps before...