[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#13475: 24.2.91; accept-process-output hangs emacs on killed sub-proc
From: |
Lars Ingebrigtsen |
Subject: |
bug#13475: 24.2.91; accept-process-output hangs emacs on killed sub-process |
Date: |
Tue, 08 Oct 2019 18:37:42 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Dmitry Gutov <dgutov@yandex.ru> 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