def post_fork_child(self):
    # The server finds run-specific info dirs by looking at the subdirectories of info_dir,
    # which is conveniently and obviously the parent dir of the current run's info dir.
    info_dir = os.path.dirname(self.context.run_tracker.run_info_dir)

    settings = ReportingServer.Settings(info_dir=info_dir,
                                        root=get_buildroot(),
                                        template_dir=self.options.template_dir,
                                        assets_dir=self.options.assets_dir,
                                        allowed_clients=self.options.allowed_clients)

    server = ReportingServer(self.options.port, settings)

    self.write_socket(server.server_port())

    # Block forever.
    server.start()
@param obj: Object
dataset/ETHPy150Open pantsbuild/pants/src/python/pants/reporting/reporting_server.py/ReportingServerManager.post_fork_child--crossover with--dataset/ETHPy150Open pyjs/pyjs/pyjswaddons/FlowPlayer.py/Player.__getObjectAsString