On Tue, 27 Sep 2011, Mattias Gaertner wrote:

Hi all,

When I start under Linux a process with TProcess [poUsePipes], write
stuff to Input and the process exits I get a SIGPIPE (broken pipe),
which kills my whole program immediately.

How can I catch or avoid the SIGPIPE with TProcess?

Just install a SIG_PIPE signal handler that ignores the handler ?

Michael.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to