http://qs1969.pair.com?node_id=1043867


in reply to Per IPC

I think you've mixed your terms but if I understand:
you want to run a child process that sends data to the parent process.
They should run at the same time
But the child stops writing output after a while.


If I understand, then:
Does the parent need the output of the child?
If not, use fork and exec.
If it does, the child is probably hanging when its output buffer is full. Try using a FIFO.