def run(self):
with Popen(self.command, stdout=PIPE, shell=True) as process:<EOL><INDENT>while True:<EOL><INDENT>current_line = process.stdout.readline().rstrip()<EOL>if not current_line:<EOL><INDENT>break<EOL><DEDENT>yield self._decode_output(current_line)<EOL><DEDENT><DEDENT>
Run the given command and yield each line(s) one by one.

.. note::
    The difference between this method and :code:`self.execute()`
    is that :code:`self.execute()` wait for the process to end
    in order to return its output.