[fpc-pascal] SIGPIPE avoid or catch
Michael Van Canneyt
michael at freepascal.org
Tue Sep 27 20:25:50 CEST 2011
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 ?
More information about the fpc-pascal