Home | Libraries | People | FAQ | More |
boost::process::self
// In header: <boost/process/self.hpp> class self : public boost::process::process { public: // construct/copy/destruct self(); // public static functions static self & get_instance() ; static environment get_environment() ; static std::string get_work_dir() ; };
The self class provides access to the process itself.
self
public static functionsstatic self & get_instance() ;
Returns the self instance representing the caller's process.
static environment get_environment() ;
Returns the current environment.
Returns the current process environment variables. Modifying the returned object has no effect on the current environment.
static std::string get_work_dir() ;
Returns the current work directory.