Returns iterator of chunked output.

        :param cmd: command that would be passed to ``subprocess.Popen``
        :param shell: Tells if process should be run within a shell. Default: False
        :param timeout: If command exceeds given ``timeout`` in seconds,
        ``TimeoutExceeded`` exception would be raised. Default: None
        :param pause: How long (in seconds) we should wait for the output.
        Default: 0.05

        Example::

            >>> command = Command('ls -l', shell=True)
            >>> for chunk in command.iter_output():
            ...     print(chunk, end='')

def iter_output(self, pause=0.05):
        """
        Returns iterator of chunked output.

        :param cmd: command that would be passed to ``subprocess.Popen``
        :param shell: Tells if process should be run within a shell. Default: False
        :param timeout: If command exceeds given ``timeout`` in seconds,
        ``TimeoutExceeded`` exception would be raised. Default: None
        :param pause: How long (in seconds) we should wait for the output.
        Default: 0.05

        Example::

            >>> command = Command('ls -l', shell=True)
            >>> for chunk in command.iter_output():
            ...     print(chunk, end='')
        """
        with self.stream as temp:
            for chunk in self.iter_output_for_stream(temp, pause=pause):
                yield chunk