def join(self):
        """Wait for the process to exit."""
        if self.daemonize:
            return self._join_daemon()
        self._proc.wait()
Wait for the process to exit.
cherrypy/test/helper.py