Coprocesses/piping problem