code: def _exec(cmd):
          
          process = subprocess.Popen(cmd, stderr=subprocess.PIPE, stdout=subprocess.PIPE)
  
          # pylint: disable=unexpected-keyword-arg
          (stdout, stderr) = process.communicate(timeout=defaults.DEFAULT_VCS_TIMEOUT)
  
          return process.returncode, stdout.decode(), stderr.decode()
docs: Execute command using subprocess.Popen
          :param cmd:
          :return: (code, stdout, stderr)