Table of Contents

Name

multipipe - pipes stdin to a set of programs

Synopsis

multipipe dir

Description

multipipe switches to the directory named dir and starts each executable program in that directory. It then reads data from stdin and pipes the output to all of the running programs. If any program exits, multipipe will restart it.

Every five seconds, multipipe checks for changes to the directory. If it sees a new program, it starts it and continues piping data to it. If a program has disappeared, its pipe is closed and removed from the program.

If multipipe is interrupted or stdin is closed, it will close all its pipes and wait for programs to exit before exiting.

See Also

envdir(8) , envini(8) , envuidgid(8) , fghack(8) , multilog(8) , pgrphack(8) , readproctitle(8) , setlock(8) , setuidgid(8) , setuser(8) , softlimit(8) , supervise(8) , svc(8) , svok(8) , svscan(8) , svscanboot(8) , svstat(8) , tai64n(8) , tai64nlocal(8)


Table of Contents