x42 / ipc-stdio

IPC client/server to forward stdio

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

IPC-STDIO

This is a inter process communication (IPC) client/server tool to forward standard i/o between applications.

It is intended to "daemonize" a process that requires stdio, and allow to re-connect to the process at a later time.

Installation

 git clone git://github.com/x42/ipc-stdio.git
 cd ipc-stdio
 make
 sudo make install

The makefile honors CFLAGS, LDFLAGS, DESTDIR and PREFIX variables. e.g. make install PREFIX=/usr and also supports uninstall target as well as individual [un]install-bin, [un]install-man targets.

Example Usage

Start a server-process and pass it a command to run.

 ipc-server /bin/cat

The connect to it:

 ipc-client

In this case everything you write to the client is passed to the server and echoed back. Use ctrl+D (EOF) to terminate the client. The server keeps running.

About

IPC client/server to forward stdio

License:GNU General Public License v2.0


Languages

Language:C 82.5%Language:Roff 10.3%Language:Makefile 7.2%