Using fork to execute parallel child processes
Posted on 2004-11-28
I am new to Perl and am trying to experiment with its management of UNIX processes. What I am trying to do is, as a parent, execute 2 child processes that communicate with each other via a pipe (I am executing these processes using fork). the child processes are simply going to be small bourne shell scripts. the standard input of the first process needs to be the standard input of the Parent, the standard output needs to be the pipe to the second process. the standard input of the second process needs to be the pipe of the first process and the standard output needs to be the standard output defined in the Parent Any assistance offered will be greatly appreciated.