code: def _old_run_cmd(self, cmd):
          '''
          Cleanly execute the command string
          '''
          try:
              proc = subprocess.Popen(
                  cmd,
                  shell=True,
                  stderr=subprocess.PIPE,
                  stdout=subprocess.PIPE,
              )
  
              data = proc.communicate()
              return data[0], data[1], proc.returncode
          except Exception:
              return ('local', 'Unknown Error', Nonef _old_run_cmd(self, cmd):
          '''
          Cleanly execute the command string
          '''
          try:
              proc = subprocess.Popen(
                  cmd,
                  shell=True,
                  stderr=subprocess.PIPE,
                  stdout=subprocess.PIPE,
              )
  
              data = proc.communicate()
              return data[0], data[1], proc.returncode
          except Exception:
              return ('local', 'Unknown Error', None)
docs: Cleanly execute the command string