4
votes
3answers
58 views

Can I pipe any two processes to each other?

In this page from The Design and Implementation of the 4.4BSD Operating System, it is said that: A major difference between pipes and sockets is that pipes require a common parent process to set ...
-1
votes
0answers
43 views

Client-Server with unnamed pipes and select [closed]

I try to write simple client-server program using fork(), pipe() and select(). Parent process is a server, which select pipe with data from client by FD_ISSET and write data to other clients. And ...
1
vote
1answer
60 views

What rules govern the parent-child relationship of processes launched by shell across a pipe?

#!/bin/ksh # start_service: start the service my_server_executable 2>&1 | my_pipe_following_shell_script & exit 0 After I run the above start_service script from command line, it is ...