Michael Lingelbach <[email protected]> writes: Hi Michael,
> I'm trying to get a remote languag server running via tramp. When I > attempt to execute any remote shell command in a dired buffer, such as: > > ``` > (with-current-buffer "box-physics" > (start-file-process-shell-command "mspyls-remote" "*mspyls-remote*" "stty" > "raw" ";" "python-language-server" "2>/tmp/mspyls-remote-16-stderr")) > #<process mspyls-remote> > ``` > > The process executes. > > When I repeat the process in a python file: > ``` > ELISP> (with-current-buffer "train.py" > (start-file-process-shell-command "mspyls-remote" "*mspyls-remote*" "stty" > "raw" ";" "python-language-server" "2>/tmp/mspyls-remote-16-stderr")) > ``` > > The process hangs emacs indefinitely until interrupted,returning > > ``` > *** Eval error *** Couldn’t find local shell prompt for /bin/sh > ``` > > This is reproducible with any executable (including echo). I've tried on > linux/mac on emacs 27 and 28 (native-comp). Please do the usual analysis. Set tramp-verbose to 6, and reevaluate the form. There will be a buffer *debug tramp/ssh jedi*, which we will check. Best regards, Michael.
