From f4840f4a6b421d9e347a0bf810d4ed3dc881bd7c Mon Sep 17 00:00:00 2001 From: "R. Richard" Date: Wed, 14 Aug 2019 14:14:57 +0200 Subject: [PATCH] Create event handler for ProxyPipeConnector --- solvable/src/pipe_io_main.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/solvable/src/pipe_io_main.py b/solvable/src/pipe_io_main.py index f833418..8f10cad 100644 --- a/solvable/src/pipe_io_main.py +++ b/solvable/src/pipe_io_main.py @@ -4,6 +4,7 @@ from sys import stderr from tornado.ioloop import IOLoop from tfw.components.pipe_io import PipeIOHandler +from tfw.components.pipe_connector import ProxyPipeConnectorHandler from tfw.config import TFWENV from tfw.logging import Log, Logger, LogFormatter, VerboseLogFormatter from tfw.main import EventHandlerFactory, setup_signal_handlers @@ -24,6 +25,7 @@ def main(): '/tmp/tfw_send', '/tmp/tfw_recv' )) + proxy_pipe_eh = eh_factory.build(ProxyPipeConnectorHandler('/tmp/pipes')) setup_signal_handlers() IOLoop.current().start()