[fpc-pascal] SIGPIPE avoid or catch

Mattias Gaertner nc-gaertnma at netcologne.de
Tue Sep 27 19:04:47 CEST 2011


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?

Mattias



More information about the fpc-pascal mailing list