PrevUpHomeNext

Class run_exe

boost::process::initializers::run_exe

Synopsis

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


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

Description

Specifies the executable to start.

This initializer must always be used. The only exception is if you use set_args or a generic initializer which specifies the executable.

run_exe public construct/copy/destruct

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