( zamboriz | 2014. 01. 13., h – 15:01 )

> amikor bezarod a pipe-ot, a gyerek processz kap egy SIGPIPE-ot, es kihal magatol

Nem egészen, csak akkor kapna SIGPIPE-ot, amikor írna. Csakhogy épp az a megoldandó probléma, amikor nem ír.

http://man7.org/linux/man-pages/man7/pipe.7.html

If all file descriptors referring to the read end of a pipe have been closed, then a write(2) will cause a SIGPIPE signal to be generated for the calling process.