From: Hugh Sasse Staff Elec Eng Date: 2002-09-24T21:49:22+09:00 Subject: Re: fork problem? On Tue, 24 Sep 2002, Meng, Ted wrote: > Hi, > > >From Unix command line, I did this > > mkfifo fifo > readProgram fifo & > writeProgram fifo > > fifo acts as a named pipe between the read and write program. > > in Ruby, I did the following > > fork { exec readProgram fifo} > system writeProgram fifo > > This worked but the performance is much slower than the Unix commandline. So how is: fork { exec readProgram fifo} exec writeProgram fifo in comparison? > > Any idea? > > Thanks > > -Ted > Hugh