From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.devel Subject: Re: shell-command-to-string uses local shell for remote Date: Mon, 01 Apr 2019 08:36:32 +0200 Message-ID: <87k1gemdu7.fsf@gmx.de> References: <1554060490.28676.0@googlemail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="190989"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Benedikt Tissot Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Apr 01 08:37:43 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hAqZi-000nbc-RG for ged-emacs-devel@m.gmane.org; Mon, 01 Apr 2019 08:37:42 +0200 Original-Received: from localhost ([127.0.0.1]:37326 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hAqZg-0002au-3c for ged-emacs-devel@m.gmane.org; Mon, 01 Apr 2019 02:37:40 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:39706) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hAqYk-0002ZX-Ba for emacs-devel@gnu.org; Mon, 01 Apr 2019 02:36:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hAqYi-0003ID-Lg for emacs-devel@gnu.org; Mon, 01 Apr 2019 02:36:42 -0400 Original-Received: from mout.gmx.net ([212.227.17.22]:42375) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hAqYh-00037U-TA for emacs-devel@gnu.org; Mon, 01 Apr 2019 02:36:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1554100594; bh=JnRvzbMBfXHxj3QpWMbpwPVfiNT7zfWeIVijbHC8Gi8=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=jEXJJBlHT+d/N1Pj5Lcvj/wwd0e/IgcjubKwhceRMYTGGNWUfUGjD525Wz4g7Hz1M ExsGSKw4ZPb1MoAhjjRc9fccFh2uK2DWjqbEjt1gDN6w+Xnq8D4lzz2oweY6v3mFLy 5Ru+94rbnawKeLRdFc2iG6BBKYpCVmT3g4OnuTJM= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from detlef.gmx.de ([212.86.46.233]) by mail.gmx.com (mrgmx103 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MBFBB-1h2qCV2Sqj-00AGOp; Mon, 01 Apr 2019 08:36:34 +0200 In-Reply-To: <1554060490.28676.0@googlemail.com> (Benedikt Tissot's message of "Sun, 31 Mar 2019 21:28:10 +0200") X-Provags-ID: V03:K1:7Iepx9b0djJeLztmgmsO0ieBMnmB+qyYZvRzPvETskTPRBoMMBE MgSb5BeXbYXHYrizOOofMhm7+Ay4fnPpAqwbXOY1Ma9bVNbBFUOxZXvVzTi6GILidw+vrSN TAiBHkCzd+R4rZ2RSdp+H/gQB1xjkLo8hOWobAsc+RQR9R1cFuEbTQfyzA7Av4qA72HBlzV 4xNmAa5JSiqnb6aZDBB/A== X-UI-Out-Filterresults: notjunk:1;V03:K0:fNTqT5hRm38=:OGQEic7/6ZHGvSPBTTXEiE bNJ6Msa1x8Atx2lw50lDH9DkM4VnWtGtY4MdNoxf5uXfTZowUZFSrA/l3w/8DufE4Qk8x43U2 uyTiWQPZT3W81tDXQtzKWOcB0tFxL6+vGtcptcv0wEpHpqkia0TSBVp5bfpj/umO0wZXLqX+B TKwc9cSZ6crGsuOP4TIu5fnoT8HmpPtF0FWlZF7OqBRCtZkUbn6XkseqlctHZtpD8es95Rcxv 92TQCAe8twsiCDubBfI7uWTM6iCZVEYVL8ZzOAuVuNN3G+Wkxf0v7WKDgzapnT09pBnY8ZGYm M1Dcb6L9074h2kbHjtmZVeSkfxlEl0tCKCQmOKUQLOu7DLsrNZsbS5gXPFimsgqLIq2lvax1h r7+5PHyqmtZqFJbgjZ5UOF7v3J1bRAlsP4GWOIR4KcQPmxMthF3+4mSNlivjC7yoUeO3X56s/ BDuso80QXsBV+/433ugrS2Nv+KyWCwO2El4fJe+II3LerJOxK7wiPwER4PXHDN6YVGKvoRZUM QLDSmp8AagWOwQStMkngwiGjqB8T2pAMvvzkCndL7JRUI1CsBqfluyNJPgWsXoHj+G6oc2yEb 735z3y2HQdWElHrgxA+YQlnfsgcu/hluB504BlhIioQqbq97r/VICA3XrCniZSAOOeTsSVbG8 g2HbYoJ1GQlOubIFQ5HFK7KTxOV8qA01/OWBuRvJJ5yFTmMFuOWK+Cy7ethCT7ihjd5AX1urM 3PMP3tt/wtdXkl4JdJQJWb7u26bTfxsueOa2omdKD766E/OuyzALz69lO2El4EwFAQjjTyVI X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.17.22 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:234846 Archived-At: Benedikt Tissot 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.