Subject: bug#13475: 24.2.91; accept-process-output hangs emacs on killed sub-process

From: Lars Ingebrigtsen <[email-masked]>
Date: Tue, 08 Oct 2019 18:37:42 +0200

Dmitry Gutov <[email-masked]> writes:

> On 07.10.2019 6:19, Lars Ingebrigtsen wrote:
>> By "was closed" here, I think what's meant is "was closed before TIMEOUT
>> expired".  If the connection is closed before the call, we wait for the
>> entire timeout.
>
> And return nil? That sounds kinda brittle, as an API.

Yeah, you have to check whether the process is alive before calling the
function if you're looping over it.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no