Subject: bug#50166: 28.0.50; ECM for possible process-status/sentinel bug

From: Lars Ingebrigtsen <[email-masked]>
Date: Mon, 23 Aug 2021 00:34:56 +0200

Lars Ingebrigtsen <[email-masked]> writes:

> However, the status messaged by all those say:
>
> status: finished exit #<process argh-<1>>

Aha!

  (with-current-buffer (process-buffer process)
    (get-buffer-process (current-buffer)))

isn't the same as process!

It's

argh- stderr<7>

vs

#<process argh-<7>>

So when you did a :stderr that pointed to process-buffer, you associated
a second process with the buffer, and that process hadn't died yet.

Without that :stderr in make-process, I see no peculiarities here.

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