From: andy Date: Thu, 30 Oct 2008 17:24:06 +0000 (+0100) Subject: fix execute string for tasks X-Git-Tag: 2.6.0~669 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/d84d4fe3d913d20b5472ea101b6474a19ece1860?ds=sidebyside fix execute string for tasks --- diff --git a/lib/python/Components/Task.py b/lib/python/Components/Task.py index 7ea64f1a..c152e9a2 100644 --- a/lib/python/Components/Task.py +++ b/lib/python/Components/Task.py @@ -136,7 +136,6 @@ class Task(object): def setTool(self, tool): self.cmd = tool - self.args = [tool] self.global_preconditions.append(ToolExistsPrecondition()) self.postconditions.append(ReturncodePostcondition()) @@ -172,7 +171,7 @@ class Task(object): if self.cwd is not None: self.container.setCWD(self.cwd) - execstr = self.cmd + " ".join(self.args) + #execstr = " ".join([self.cmd]+self.args) print "execute:", self.container.execute(execstr), execstr if self.initial_input: self.writeInput(self.initial_input)