git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add kill to Console
[enigma2.git]
/
lib
/
python
/
Components
/
Console.py
diff --git
a/lib/python/Components/Console.py
b/lib/python/Components/Console.py
old mode 100644
(file)
new mode 100755
(executable)
index
f1f3fd9
..
7efdf64
--- a/
lib/python/Components/Console.py
+++ b/
lib/python/Components/Console.py
@@
-55,3
+55,8
@@
class Console(object):
if self.callbacks[name]:
self.callbacks[name](data,retval,extra_args)
del self.callbacks[name]
+
+ def kill(self,name):
+ if self.appContainers.has_key(name):
+ print "[Console] killing: ",self.appContainers[name]
+ self.appContainers[name].kill()