git.cweiske.de
/
enigma2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
fc10239
)
allow using a list for ePopen
author
Felix Domke
<tmbinc@elitedvb.net>
Tue, 27 Jan 2009 17:57:10 +0000
(18:57 +0100)
committer
Felix Domke
<tmbinc@elitedvb.net>
Tue, 27 Jan 2009 17:57:10 +0000
(18:57 +0100)
lib/python/Components/Console.py
patch
|
blob
|
history
diff --git
a/lib/python/Components/Console.py
b/lib/python/Components/Console.py
index 136d10d089586f7392f8dc8dc67758658389458d..f1f3fd9514ee532858a6d07e3b286cfd8091a35f 100644
(file)
--- 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)