protected function internalSpawn(Process $p) { $p = $this->internalFork($p); $this->spawnWatch[$p->getPid()] = $p; return $p; }