PrevUpHomeNext

Class start_in_dir

boost::process::initializers::start_in_dir

Synopsis

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


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

Description

Sets the work directory.

start_in_dir public construct/copy/destruct

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