twinpipe is used to start two processes from the shell, such that the processes talk to each other via stdout and stdin. For example, it could be used to start two ppp processes which need to talk to each others (for VPN solutions). Two versions of the program are included: A C language version and a shell script version. The shell script version uses a named pipe (fifo) to do the trick, and the C- language version just creates two pipes and executes the programs.
|Implementation||C Unix Shell|