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
--