RUN_SHELL_COMMAND
Thanks @lixxbox for that code
Without clearing the partial line on a full line being sent the self.partial_output was repeated for every subsequent line.