Top "Sigpipe" questions

SIGPIPE is the signal sent to a process when it attempts to write to a pipe without a process connected to the other end.

How to prevent SIGPIPEs (or handle them properly)

I have a small server program that accepts connections on a TCP or local UNIX socket, reads a simple command …

c io signals broken-pipe sigpipe
IOError: [Errno 32] Broken pipe: Python

I have a very simple Python 3 script: f1 = open('a.txt', 'r') print(f1.readlines()) f2 = open('b.txt', 'r') …

python python-3.x sigpipe
Program received signal SIGPIPE, Broken pipe

I write a client program based on posix sockets. The program creates multiple threads and is going to lock the …

c sockets gdb pthreads sigpipe
Using signals and sigpipe

I'm working on an assignment that involves writing a program to process data (calculate pi) using fork (processes), signals and …

c process pipe signals sigpipe
TCP client-server SIGPIPE

I am designing and testing a client server program based on TCP sockets(Internet domain). Currently , I am testing it …

tcp sigpipe
Ignoring Bash pipefail for error code 141

Setting the bash pipefail option (via set -o pipefail) allows the script to fail if a non-zero error is caught …

python bash error-handling signals sigpipe