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: Thu, 23 Apr 2020 09:46:52 -0400 [thread overview]
Message-ID: <ed31303f-d032-2804-e849-c7972848ec20@linuxha.com> (raw)
In-Reply-To: <20200423081511.5e676004@happy.intern.roklein.de>
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
>>
>> I would prefer that I can change it to the bash shell in PortableGit.
>> Also I have no ability to add packages to the machine (other than
>> emacs). I don't have admin on this machine.
>>
>> Thanks
>
> use
>
> #begin_src bash ...
#+BEGIN_SRC sh bash :results value raw
set
#+END_SRC
Hit C-c C-C in the block results in:
emacs returns /usr/bin/sh: sh: command not found
--
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
next prev parent reply other threads:[~2020-04-23 13:49 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 [this message]
2020-04-26 16:10 ` Neil Cherry
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
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ed31303f-d032-2804-e849-c7972848ec20@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 public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).