docs: def _exec_cmd(command):
      """Call a CMD command and return the output and returncode"""
      proc = sp.Popen(command,
                      stdout=sp.PIPE,
                      shell=True)
      if six.PY2:
          res = proc.communicate()[0]
      else:
          res = proc.communicate(timeout=5)[0]
      return res, proc.returncode