...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::process::cmd
// In header: <boost/process/cmd.hpp> static unspecified cmd;
The cmd property allows to explicitly set commands for the execution.
The overload form applies when only one string is passed to a launching function. The string will be internally parsed and split at spaces.
The following expressions are valid, with value
being either a C-String or a std::basic_string
with char
or wchar_t
.
cmd="value"; cmd(value);
The property can only be used for assignments.