X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/0c2185a46606c2ac3e41205fe92e6d5ba4ead1b9..728c78384a71b0231cfe0047292e34b8ec860522:/lib/python/Components/Task.py diff --git a/lib/python/Components/Task.py b/lib/python/Components/Task.py index 659660e8..ab85c667 100644 --- a/lib/python/Components/Task.py +++ b/lib/python/Components/Task.py @@ -162,9 +162,9 @@ class Task(object): self.task_progress_changed = task_progress_changed from enigma import eConsoleAppContainer self.container = eConsoleAppContainer() - self.container.appClosed.get().append(self.processFinished) - self.container.stdoutAvail.get().append(self.processStdout) - self.container.stderrAvail.get().append(self.processStderr) + self.container.appClosed.append(self.processFinished) + self.container.stdoutAvail.append(self.processStdout) + self.container.stderrAvail.append(self.processStderr) assert self.cmd is not None assert len(self.args) >= 1 @@ -172,7 +172,7 @@ class Task(object): 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) + print "execute:", self.container.execute(self.cmd, *self.args), self.cmd, *self.args if self.initial_input: self.writeInput(self.initial_input)