def GetClosedTempfile(*args, **kwargs):
  (fd, path) = tempfile.mkstemp(*args, **kwargs)
  CloseFdNoError(fd)
  return path
Creates a temporary file and returns its path.
dataset/ETHPy150Open ganeti/ganeti/lib/utils/wrapper.py/GetClosedTempfile