[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: #+BEGIN_SRC sh C-c C-c in Windows
From: |
Neil Cherry |
Subject: |
Re: #+BEGIN_SRC sh C-c C-c in Windows |
Date: |
Thu, 23 Apr 2020 09:46:52 -0400 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 |
On 4/23/20 2:15 AM, Robert Klein wrote:
> Hi,
>
> On Wed, 22 Apr 2020 08:09:39 -0400
> Neil Cherry <address@hidden> 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 address@hidden
http://www.linuxha.com/ Main site
http://linuxha.blogspot.com/ My HA Blog
Author of: Linux Smart Homes For Dummies