From c96f50711d62e0f33245b0c8557627f614e00dc1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krist=C3=B3f=20T=C3=B3th?= Date: Wed, 21 Feb 2018 14:44:49 +0100 Subject: [PATCH] Add ProcessManagingEventHandler to event_handler_main --- src/demo/event_handler_main.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/demo/event_handler_main.py b/src/demo/event_handler_main.py index 4dce5f6..42a01cf 100644 --- a/src/demo/event_handler_main.py +++ b/src/demo/event_handler_main.py @@ -1,5 +1,6 @@ from tfw.components.source_code_event_handler import SourceCodeEventHandler from tfw.components.terminado_event_handler import TerminadoEventHandler +from tfw.components.process_managing_event_handler import ProcessManagingEventHandler from tornado.ioloop import IOLoop from tfw.config import tfwenv @@ -7,7 +8,8 @@ from tfw.config import tfwenv if __name__ == '__main__': eventhandlers = {SourceCodeEventHandler('anchor_webide', tfwenv.WEBIDE_WD), - TerminadoEventHandler('anchor_terminado', 'terminado')} + TerminadoEventHandler('anchor_terminado', 'terminado'), + ProcessManagingEventHandler('anchor_processmanager', 'login')} try: IOLoop.instance().start() finally: