def __init__(self, cmd, cwd=None, env=None): self._process = process.ProcessOpen(cmd, cwd=cwd, env=env) # Stdout, stderr results get set in the communicate call. self._stdoutData = None self._stderrData = None # Condition object for waiting on the process. self.__communicating_event = None self.uuid = mozutils.generateUUID()
def getNextId(part): xulid = mozutils.generateUUID() idmap[xulid] = part return xulid