emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: master 2c79a8f 2/2: Use posix_spawn if possible.


From: Robert Pluim
Subject: Re: master 2c79a8f 2/2: Use posix_spawn if possible.
Date: Tue, 08 Feb 2022 15:59:08 +0100

>>>>> On Tue, 8 Feb 2022 14:18:43 +0200, Saulius Menkevicius 
>>>>> <sauliusmenkevicius@fastmail.com> said:

    Saulius> I believe this is not a problem related to C#/dotnet but generally
    Saulius> with how signals are blocked on child processes launched with
    Saulius> posix_spawn in the current implementation.

(I could argue that if dotnet wants to ensure it receives SIGCHLD, it
should unblock it itself, but thatʼs a different discussion, we
definitely have an Emacs bug)

And come to think of it, the posix_spawn code path is only exercised
when not asking for a pseudo tty. Since the default value for
`process-connection-type' is t => pty, Iʼm assuming that the elisp
code in question is binding that to nil, or using the :connection-type
argument to `make-process'.

Would it be possible to test using ptys? If that works thatʼs a
workaround that requires no changes to emacs-28.

Thanks

Robert
-- 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]