|
From: | Saulius Menkevicius |
Subject: | Re: master 2c79a8f 2/2: Use posix_spawn if possible. |
Date: | Sat, 12 Feb 2022 10:44:21 +0200 |
Correct, I meant ":connection-type pipe“ when I referred to lsp-mode. My mistake. Curiously setting :connect-type to ’pty does not fix my issues on macOS+emacs-28 for me. I might be doing something wrong though.. Applying Robert’s patch does fix it on emacs-28 too. And I was mistaken about /bin/bash reseting signal mask, ksh does it though.. https://unix.stackexchange.com/questions/123768/calling-sigprocmask-from-bash. So my workarounds to fix sigmask are as follows: - on linux, I will wrap invocation of server process with „/usr/bin/env --default-signal“ - on macos, I will wrap invocation of server process with „/bin/ksh -c“ - .. not sure what is needed on *BSDs, probably the same thing as on macOS if they have /bin/ksh in default installation? Are there any chances of getting this patch to fix signal mask to default after posix_spawn from Robert getting merged to master and/or emacs-28? -Saulius
|
[Prev in Thread] | Current Thread | [Next in Thread] |