mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2024-11-22 20:21:32 +00:00
Add ProcessManagingEventHandler to event_handler_main
This commit is contained in:
parent
387d07bc4a
commit
c96f50711d
@ -1,5 +1,6 @@
|
|||||||
from tfw.components.source_code_event_handler import SourceCodeEventHandler
|
from tfw.components.source_code_event_handler import SourceCodeEventHandler
|
||||||
from tfw.components.terminado_event_handler import TerminadoEventHandler
|
from tfw.components.terminado_event_handler import TerminadoEventHandler
|
||||||
|
from tfw.components.process_managing_event_handler import ProcessManagingEventHandler
|
||||||
from tornado.ioloop import IOLoop
|
from tornado.ioloop import IOLoop
|
||||||
|
|
||||||
from tfw.config import tfwenv
|
from tfw.config import tfwenv
|
||||||
@ -7,7 +8,8 @@ from tfw.config import tfwenv
|
|||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
eventhandlers = {SourceCodeEventHandler('anchor_webide', tfwenv.WEBIDE_WD),
|
eventhandlers = {SourceCodeEventHandler('anchor_webide', tfwenv.WEBIDE_WD),
|
||||||
TerminadoEventHandler('anchor_terminado', 'terminado')}
|
TerminadoEventHandler('anchor_terminado', 'terminado'),
|
||||||
|
ProcessManagingEventHandler('anchor_processmanager', 'login')}
|
||||||
try:
|
try:
|
||||||
IOLoop.instance().start()
|
IOLoop.instance().start()
|
||||||
finally:
|
finally:
|
||||||
|
Loading…
Reference in New Issue
Block a user