boost::process::initializers::set_cmd_line
// In header: <boost/process/initializers.hpp> class set_cmd_line { public: // construct/copy/destruct explicit set_cmd_line(const string_type &); };
Sets the command line.
Use set_args
if you don't want to set the command line as one string but pass a collection of command line arguments.
set_cmd_line
public
construct/copy/destructexplicit set_cmd_line(const string_type & s);
Constructor.
On Windows string_type
must be const char*
, std::string
or boost::filesystem::path
. If Unicode is used, string_type
must be const wchar_t*
, std::wstring
or boost::filesystem::path
.
On POSIX string_type
must be const char*
, std::string
or boost::filesystem::path
.