We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How does one write a wrapper function taking boost::process::exe and boost::process::args.
boost::process::exe
boost::process::args
is boost::process::exe even a type? seems not...
What trickery is this? Thanks.
The text was updated successfully, but these errors were encountered:
this does not compile:
#include <boost/process.hpp> #include <string> std::string getStdOutFromCommand(const std::decay_t<decltype(boost::process::exe)> &exe, const std::decay_t<decltype(boost::process::args)> &args) { boost::process::ipstream pipe_stream; boost::process::child c(exe, args, boost::process::std_out > pipe_stream); // ... }
Sorry, something went wrong.
Switch to boost.process v2 and use filesystem::path & vector<string>. Seriously, this trickery was a mistake.
filesystem::path
vector<string>
No branches or pull requests
How does one write a wrapper function taking
boost::process::exe
andboost::process::args
.is
boost::process::exe
even a type? seems not...What trickery is this?
Thanks.
The text was updated successfully, but these errors were encountered: