Struct child
boost::process::child
Synopsis
Description
Represents a child process.
On Windows child is movable but non-copyable. The destructor automatically closes handles to the child process.
child
public
construct/copy/destruct
-
explicit child(const PROCESS_INFORMATION & pi);
Constructor.
Windows only.
-
explicit child(pid_t p);
Constructor.
POSIX only.
child
public member functions
-
HANDLE process_handle() const;
Returns the process handle.
Windows only.
child
public
public data members
-
PROCESS_INFORMATION proc_info;
Process information.
Windows only.
-
pid_t pid;
Process identifier.
POSIX only.