def start(self): self.threadControlLock.acquire() try: Resource.start(self) if self.process_thread == None: self.process_thread = ProcessThread(target=self.process, pause=self.PAUSE) self.process_thread.start() finally: self.threadControlLock.release()
def start(self): self._log.debug("start()") if self.get_commandAlive() == False: command = self._props["command"] args = copy.copy(self._props["args"]) args.insert(0, command) self._log.debug("start %s %r", command, args) self._pid = os.spawnv(os.P_NOWAIT, command, args) self._log.debug("spawned %s", self._pid) Resource.start(self)
def start(self): Resource.start(self) ThreadedComponent.startThread(self, pause=self.PAUSE)
def start(self): self.prop_short += 1 # FOR NOW, A CRAPPY TEST TO SEE IF REFRESH WORKS Resource.start(self) pipe_on() pipe_start()
def start(self): Resource.start(self) if self.process_thread == None: self.process_thread = ProcessThread(target=self.process, pause=self.PAUSE) self.process_thread.start()