Home | Libraries | People | FAQ | More |
boost::process::child
// In header: <boost/process/child.hpp> class child : public boost::process::process { public: // construct/copy/destruct child(pid_type, std::map< stream_id, handle >); // public member functions handle get_handle(stream_id) const; };
The child class provides access to a child process.
child
public
construct/copy/destructchild(pid_type id, std::map< stream_id, handle > handles);
Creates a new child object that represents the just spawned child process id.
child
public member functionshandle get_handle(stream_id id) const;
Gets a handle to a stream attached to the child.
If the handle doesn't exist an invalid handle is returned.