[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: emacs-29: error creating external process - (permission-denied "Doin
From: |
Jostein Kjønigsen |
Subject: |
Re: emacs-29: error creating external process - (permission-denied "Doing vfork" "Permission denied") |
Date: |
Fri, 16 Dec 2022 23:24:20 +0100 |
Just as a public FYI, this was an error in lsp-mode and not a fault/regression
in Emacs.
Please consider this case closed.
—
Jostein Kjønigsen
https://jostein.kjønigsen.net
> On 9 Dec 2022, at 22:33, Jostein Kjønigsen <jostein@secure.kjonigsen.net>
> wrote:
>
> On 09.12.2022 19:03, Jostein Kjønigsen wrote:
>> I've been testing a little more and this is clearly something which happens
>> with a very specific set of launch parameters.
>>
>> Case in point: lsp-mode works fine for all other language-protocol server I
>> use. Only omnisharp fails. But if I try to use omnisharp via eglot, then it
>> launches fine.
>>
>> That is, so far this is the only code I know which can reproduce this error:
>>
>> https://github.com/emacs-lsp/lsp-mode/blob/e56da7199c09e44f4b5feaf07691d467c01da376/clients/lsp-csharp.el#L335-L362
>>
>>
>> --
>> Jostein
>>
> I've just tested moving my setup to eglot, and ran into issues getting
> typescript-language-server working, but it complained about not being able to
> find tsserver.
>
> As a means to try to resolve those, I created a shell-script in $HOME/bin,
> which looks pretty much like this:
>
> #!/bin/sh
> cd server-dir
> ./typescript-language-server $*
>
> When launching eglot and using this as a language-server instead, I get the
> same error. Activating edbug-on-error does not trigger the emacs debugger,
> but still fails the same way.
>
>
> --
> Jostein
>