progress = property(getProgress)
+ def getStatustext(self):
+ return { self.NOT_STARTED: _("Waiting"), self.IN_PROGRESS: _("In Progress"), self.FINISHED: _("Finished"), self.FAILED: _("Failed") }[self.status]
+
def task_progress_changed_CB(self):
self.state_changed()
if self.cwd is not None:
self.container.setCWD(self.cwd)
- print "execute:", self.container.execute(self.cmd, self.args), self.cmd, " ".join(self.args)
+ execstr = self.cmd + " ".join(self.args)
+ print "execute:", self.container.execute(execstr), execstr
if self.initial_input:
self.writeInput(self.initial_input)