https://github.com/x42/ipc-stdio
IPC client/server to forward stdio
https://github.com/x42/ipc-stdio
daemon ipc stdio
Last synced: 2 months ago
JSON representation
IPC client/server to forward stdio
- Host: GitHub
- URL: https://github.com/x42/ipc-stdio
- Owner: x42
- License: gpl-2.0
- Created: 2019-10-19T22:51:32.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-10-20T02:25:57.000Z (over 5 years ago)
- Last Synced: 2025-01-31T23:28:53.180Z (4 months ago)
- Topics: daemon, ipc, stdio
- Language: C
- Size: 24.4 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
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
------------```bash
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.
```bash
ipc-server /bin/cat
```The connect to it:
```bash
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.