Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Class child

boost::process::child

Synopsis

// 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;
};

Description

The child class provides access to a child process.

child public construct/copy/destruct

  1. child(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 functions

  1. handle 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.


PrevUpHomeNext