I solved this by calling process_->GetHandle();
inside my class, in the overridden method: virtual void OnProcessLaunched() OVERRIDE;
as shown in the code below:
void MyProcessHost::OnProcessLaunched() {
MyProcessHost::child_process_handle_ = this->process_->GetHandle();
}
I used a static field: static base::ProcessHandle child_process_handle_
to store the value of the handle, but you can of course, use a non-static field as well.