emacs-devel
[Top][All Lists]
Advanced

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

Re: shell-command-to-string uses local shell for remote


From: Michael Albinus
Subject: Re: shell-command-to-string uses local shell for remote
Date: Mon, 01 Apr 2019 08:36:32 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Benedikt Tissot <address@hidden> writes:

> Hello dear emacs maintainers,

Hi Benedikt,

> If the local used shell does not exist on the remote the
> shell-command-to-string function from simple.el does not work as
> expected. The reason for this is that the variable shell-file-name is
> wrong and therefore one only gets a string saying that the shell does
> not exist.

Have you tried a recent checkout from master? shell-command-to-string
uses the connection-local value of shell-file-name. On remote systems,
this is "/bin/sh" (or "/system/bin/sh" for the adb method) per default.

> Best regards,
> Benedikt Tissot

Best regards, Michael.



reply via email to

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