all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Neil Cherry <ncherry@linuxha.com>
To: Robert Klein <roklein@roklein.de>
Cc: Emacs-orgmode@gnu.org
Subject: Re: #+BEGIN_SRC sh C-c C-c in Windows
Date: Sun, 26 Apr 2020 12:10:59 -0400	[thread overview]
Message-ID: <423d16d1-66fd-44f7-582e-f327b40b2ec8@linuxha.com> (raw)
In-Reply-To: <ed31303f-d032-2804-e849-c7972848ec20@linuxha.com>

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 <ncherry@linuxha.com> 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


      reply	other threads:[~2020-04-26 16:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-22 12:09 #+BEGIN_SRC sh C-c C-c in Windows Neil Cherry
2020-04-23  6:15 ` Robert Klein
2020-04-23 13:46   ` Neil Cherry
2020-04-26 16:10     ` Neil Cherry [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=423d16d1-66fd-44f7-582e-f327b40b2ec8@linuxha.com \
    --to=ncherry@linuxha.com \
    --cc=Emacs-orgmode@gnu.org \
    --cc=roklein@roklein.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.