git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge commit 'origin/bug_112_enable_extensions_manager' into experimental
[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
..
a41317e
--- a/
lib/python/Components/Console.py
+++ b/
lib/python/Components/Console.py
@@
-55,3
+55,12
@@
class Console(object):
if self.callbacks[name]:
self.callbacks[name](data,retval,extra_args)
del self.callbacks[name]
if self.callbacks[name]:
self.callbacks[name](data,retval,extra_args)
del self.callbacks[name]
+
+ def kill(self,name):
+ if name in self.appContainers:
+ print "[Console] killing: ",self.appContainers[name]
+ self.appContainers[name].kill()
+
+ def killAll(self):
+ for name in self.appContainers:
+ self.kill(name)