> regarding Skip's comments: I'm not sure I completely understand. > the parallelism is not vital. I just want to use an existing > program (resample in this particular case) as filter to read > some of my data, process it, and give me the result, after which > I continue with my own thing. just this: in your example, if parent needs to write more than some pipe-buf-limit (i think 32k) to child and/or if child produces output larger than this limit and blocks on the write, it would be a problem. i attached my example of using only one pipe which requires two rendezvous points and customization of the slave proc; this could have a deadlock when a child requires multiple reads to cause a write.