Subject: Re: bug#79079: 31.0.50; Piped command output is sometimes lost in Eshell

From: Paul Eggert <[email-masked]>
Date: Thu, 24 Jul 2025 11:50:29 -0700

On 2025-07-24 10:05, Jim Porter wrote:
> Could there be a time when we get an error from 'process-send-string', 
> but we can try calling it again later?

Not if it's an EPIPE failure. EPIPE means the connection is permanently 
down.

I don't offhand know of any failure for writing to a pipe where retrying 
would make sense, other than EAGAIN and EWOULDBLOCK which the code is 
already dealing with.

Can process-send-string write to other file types? If so, there are 
other possibilities where retrying might work, e.g., ENOSPC for write to 
a regular file, ENETDOWN for sendto to a network socket.