PrevUpHomeNext

Class set_args

boost::process::initializers::set_args

Synopsis

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


class set_args {
public:
  // construct/copy/destruct
  explicit set_args(const range_type &);
};

Description

Sets the command line arguments.

The first argument specifies the executable to start unless run_exe is used.

Use set_cmd_line if you don't want to pass a collection of command line arguments but set the command line as one string.

set_args public construct/copy/destruct

  1. explicit set_args(const range_type & r);

    Constructor.

    On Windows range_type must be a std::string-range. If Unicode is used, range_type must be a std::wstring-range.

    On POSIX range_type must be a std::string-range.


PrevUpHomeNext