diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2009-01-27 18:57:10 +0100 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2009-01-27 18:57:10 +0100 |
| commit | 622d40a8ed6823a63f97e26267cfee3c874189fe (patch) | |
| tree | a7206d9656b85b68c4e9898b084a87cc3342218e /lib/python/Components/Console.py | |
| parent | fc102394e60824f5c07da710d36ba28eaf160c72 (diff) | |
| download | enigma2-622d40a8ed6823a63f97e26267cfee3c874189fe.tar.gz enigma2-622d40a8ed6823a63f97e26267cfee3c874189fe.zip | |
allow using a list for ePopen
Diffstat (limited to 'lib/python/Components/Console.py')
| -rw-r--r-- | lib/python/Components/Console.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/python/Components/Console.py b/lib/python/Components/Console.py index 136d10d0..f1f3fd95 100644 --- a/lib/python/Components/Console.py +++ b/lib/python/Components/Console.py @@ -21,7 +21,9 @@ class Console(object): self.appContainers[name] = eConsoleAppContainer() self.appContainers[name].dataAvail.append(boundFunction(self.dataAvailCB,name)) self.appContainers[name].appClosed.append(boundFunction(self.finishedCB,name)) - retval = self.appContainers[name].execute(cmd) + if isinstance(cmd, str): # until .execute supports a better api + cmd = [cmd] + retval = self.appContainers[name].execute(*cmd) if retval: self.finishedCB(name, retval) |
