Expose subprocess stdin through a pipe
0

Configure Feed

Select the types of activity you want to include in your feed.

Go 83.4%
Shell 16.6%
10 1 0

Clone this repository

https://tangled.org/nouveauprintemps.org/input-service https://tangled.org/did:plc:zx5znqypru6joic2gznco2bh
git@knot.git.nouveauprintemps.org:nouveauprintemps.org/input-service git@knot.git.nouveauprintemps.org:did:plc:zx5znqypru6joic2gznco2bh

For self-hosted knots, clone URLs may differ based on your setup.



README.md

Input Service#

A simple service wrapper that exposes /dev/stdin of the subprocess through a pipe.

The log produced by the wrapper itself is sent to syslog's daemon facility. /dev/stdout and /dev/stderr are linked to the subprocess.

It only works on Linux, because it uses the syscall mkfifo(3).