(self)
A context manager that starts the daemon.

        If there's a failure then the daemon is stopped.  It is also
        stopped at the end of the with block.
A context manager that starts the daemon.
A context manager that starts the daemon .
def running(self):
        """A context manager that starts the daemon.

        If there's a failure then the daemon is stopped.  It is also
        stopped at the end of the with block.
        """
        self.start()
        try:
            yield self
        finally:
            self._stop_quietly()
def running ( self ) : self . start ( ) try : yield self finally : self . _stop_quietly ( )