PrevUpHomeNext

Class set_cmd_line

boost::process::initializers::set_cmd_line

Synopsis

// In header: <boost/process/initializers.hpp>


class set_cmd_line {
public:
  // construct/copy/destruct
  explicit set_cmd_line(const string_type &);
};

Description

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/destruct

  1. explicit 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.


PrevUpHomeNext