code: def record_result(self, res, prg=''):
          
          self._log(self.logFileResult , force_to_string(res), prg)
docs: record the output of the command. Records the result, can have 
          multiple results, so will need to work out a consistent way to aggregate this