From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id yOuPJa+ypV71DQAA0tVLHw (envelope-from ) for ; Sun, 26 Apr 2020 16:11:27 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id cO6tNLaypV6OQwAA1q6Kng (envelope-from ) for ; Sun, 26 Apr 2020 16:11:34 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 16B08941D1D for ; Sun, 26 Apr 2020 16:11:34 +0000 (UTC) Received: from localhost ([::1]:34594 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jSjsT-0004Vp-DH for larch@yhetil.org; Sun, 26 Apr 2020 12:11:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42392) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jSjs4-0004VY-Pp for Emacs-orgmode@gnu.org; Sun, 26 Apr 2020 12:11:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jSjs2-0004kz-5X for Emacs-orgmode@gnu.org; Sun, 26 Apr 2020 12:11:06 -0400 Received: from mout.perfora.net ([74.208.4.197]:44657) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jSjs1-0004V8-KN for Emacs-orgmode@gnu.org; Sun, 26 Apr 2020 12:11:05 -0400 Received: from [192.168.24.2] ([69.142.220.70]) by mrelay.perfora.net (mreueus004 [74.208.5.2]) with ESMTPSA (Nemesis) id 1M73XX-1jYVYo2jtf-008by3; Sun, 26 Apr 2020 18:11:01 +0200 Subject: Re: #+BEGIN_SRC sh C-c C-c in Windows From: Neil Cherry To: Robert Klein References: <4dac1a9b-4b62-f79b-13df-f90bfcdf4568@linuxha.com> <20200423081511.5e676004@happy.intern.roklein.de> Autocrypt: addr=ncherry@linuxha.com; prefer-encrypt=mutual; keydata= mDMEXeDH+hYJKwYBBAHaRw8BAQdAQirJmkWB3TV+4OT1LdNet8ycO39N+GJvszPR+vquNM+0 GW5qYyA8bmNoZXJyeUBsaW51eGhhLmNvbT6IlgQTFggAPhYhBP1qkMI69h4X6AE6XbIDVCka H136BQJd4Mf6AhsDBQkJZgGABQsJCAcCBhUKCQgLAgQWAgMBAh4BAheAAAoJELIDVCkaH136 HhoA/1y5Qmz2WE1j7UY5TZAus//7oB+kBwVrhZTQiJyPRCj/AQDqj+CjmCya5K+OXH/rsEov WxrQNkrUteSfjX4jcb2cDrg4BF3gx/oSCisGAQQBl1UBBQEBB0CBju/glr36yM6htPQg4lw5 JYxQmZ9EA7UIS+NhlwOWTgMBCAeIfgQYFggAJhYhBP1qkMI69h4X6AE6XbIDVCkaH136BQJd 4Mf6AhsMBQkJZgGAAAoJELIDVCkaH136m8MBAJnYBs6xPxMugJ5sK4lNUhiLntI4UYt7guuR ZFm7mr/sAP0TIaAqvUupMNkmcdcyIrMOElYaCCT2eumPUbZLrSDuAg== Message-ID: <423d16d1-66fd-44f7-582e-f327b40b2ec8@linuxha.com> Date: Sun, 26 Apr 2020 12:10:59 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:+lnulurTclBIexti0yG3OQjbFw7em81T+RBoT39GIat8goB9v1q 0dmtZKDrVQDZzSWn8RXeDvYEZOjPBKITDgY9nZqxXkBCpE2OhtEGO/p84AhgtjzZwOVUABR gtcBn6HT/6dqS9JDJreyYdCHOBlorqL/rzAIEAN24tEDnDunNlOSkVI0pocWg53m954Zn64 +ejS47Krp7B4ZbOcUPdKA== X-UI-Out-Filterresults: notjunk:1;V03:K0:qISSZ2lemb8=:HfU0KBCVH6W2EA6zh862jB Wtvc0qDhjNrIjid9MGDxBw5Y1I7QkKUlkKFraVh1LJ4UlYIiA0h0WXWBNAkjQGL1BJBoAbTbK g2goHAKRyS+Ctu5yr8rue+XmL6bTgQyNpus4xCLRjwTdMkCrcm92rItfocH6UkVKc97z013IV mnP6FyX5J1jBg5e/LDXbDdhC2LJGQxssoGrVC6/AevfoxXUwxeIV+xv8gErbxSViXFtcw7s2f nUvAEJWzMrpTxG94KdtJ4bWEHAF/I3Y0jQ+b/QrwqeMVkS7wZzYe1UwTF3fRtMDSYwTewUjXG iknN9w2iE+a8vFjTKBHSEK87FVyOSqEFzUDufHS4YCUZcdzldKrOvVAC1tfcmxH3tNy0v0FfW EMGMz1uj6iDA1Gyw6C70y+O731qkezDhFbAAyyiLdvpNappkWTQzaLR0qZkeWHJjX1Y+HmeJp i04oSze20zP+7RLOJF77TBgIQ0gk9cZfS42qYcQukEdKQAoCP71Rdq8nJziC1sYo9ioOgyc58 XCPIQLHMP5/bdyOsZr7PNOcK2k6N/vp4S/k3VAOZ2xWq2EGotYoombAabXmvfJ6WIiJBWyvtn ft16MxfU+nfQgwcSwhKHStAUCTsW4dkXnPgnkinjgadhH90N/J/TinH0srpfrBFU6zramSw5Z 6rF2MByFTOFgGWpYt243xsaql3zU2LJD7eg+BMDsAj57F2OlIT7/LYaG1G6bCH64vbzC2Ynmj qjxPw5DOQ9qAMewnuDY2KXVdzpyNskCivSWnuGILsaED+/PkBvr/ejQcSSCM2mIFlnPnxOev5 4Gx0faPvhH0ib4+OuYzBf/tSqeGMfgxPJ6cJJtgj1XV28uruwSz8kGvvk6W+BPUPHJoCKNi Received-SPF: pass client-ip=74.208.4.197; envelope-from=ncherry@linuxha.com; helo=mout.perfora.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/04/26 12:11:03 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] X-Received-From: 74.208.4.197 X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 X-Spam-Score: -1.01 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Scan-Result: default: False [-1.01 / 13.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; GENERIC_REPUTATION(0.00)[-0.55769397789989]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.51.188.0/24:c]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.20), country: US(-0.00), ip: 209.51.188.17(-0.56)]; DWL_DNSWL_FAIL(0.00)[209.51.188.17:server fail]; MX_GOOD(-0.50)[cached: eggs.gnu.org]; RCPT_COUNT_TWO(0.00)[2]; MAILLIST(-0.20)[mailman]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; RCVD_IN_DNSWL_FAIL(0.00)[209.51.188.17:server fail]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:22989, ipnet:209.51.188.0/24, country:US]; MID_RHS_MATCH_FROM(0.00)[]; TAGGED_FROM(0.00)[larch=yhetil.org]; ARC_NA(0.00)[]; RCVD_COUNT_FIVE(0.00)[6]; FROM_NEQ_ENVFROM(0.00)[ncherry@linuxha.com,emacs-orgmode-bounces@gnu.org]; FROM_HAS_DN(0.00)[]; URIBL_BLOCKED(0.00)[linuxha.blogspot.com:url,linuxha.com:email]; MIME_GOOD(-0.10)[text/plain]; R_DKIM_NA(0.00)[]; DMARC_NA(0.00)[linuxha.com]; HAS_LIST_UNSUB(-0.01)[]; RECEIVED_SPAMHAUS_PBL(0.00)[69.142.220.70:received]; FORGED_SENDER_MAILLIST(0.00)[] X-TUID: cOH0vkt72anv On 4/23/20 9:46 AM, Neil Cherry wrote: > On 4/23/20 2:15 AM, Robert Klein wrote: >> Hi, >> >> On Wed, 22 Apr 2020 08:09:39 -0400 >> Neil Cherry wrote: >> >>> I've searched for a resolution for this but haven't found one. I want >>> to be able to call a different command shell in Windows. What I keep >>> seeing is that it can't find /bin/sh >>> >>> #+BEGIN_SRC sh :results output >>> set >>> #+END_SRC >>> Thanks to everyone who helped (Robert. Steven, Julius). Basically the Windows path was munged and for some reason adding to the path (exec-path) didn't help. Anyway, cleaned up the path and it is now working on both Windows (Home and Work PC). #+BEGIN_SRC bash :shebang "#!/usr/bin/bash" :results output :wrap echo -e "#\n# Date: '$(date +%Y-%m-%d)'\n#" #+END_SRC #+RESULTS: #+BEGIN_RESULTS # # Date: '2020-04-26' # #+END_RESULTS -- Linux Home Automation Neil Cherry ncherry@linuxha.com http://www.linuxha.com/ Main site http://linuxha.blogspot.com/ My HA Blog Author of: Linux Smart Homes For Dummies