[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bash source code block: problem after ssh commands
From: |
Ihor Radchenko |
Subject: |
Re: bash source code block: problem after ssh commands |
Date: |
Thu, 26 Oct 2023 08:44:59 +0000 |
Leo Butler <Leo.Butler@umanitoba.ca> writes:
> It looks like an issue in comint-mode and the way that it is handling
> the temporary ssh session. This is not an issue with org-mode.
> ...
> Not working:
>
> #+begin_src bash :results output
> ssh SSH-HOST 'echo foo>/tmp/foo_file'
> echo $(uname -a) |tee /tmp/uname1.txt
> #+end_src
By default (no session), the above command should not use comint-mode.
So, something else might be going on here.
I currently do not have a setup to test ssh commands, so I would
appreciate someone trying to dig why `org-babel-eval' apparently not
returning the expected result.
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
- bash source code block: problem after ssh commands, Alain . Cochard, 2023/10/25
- Re: bash source code block: problem after ssh commands, Leo Butler, 2023/10/25
- Re: bash source code block: problem after ssh commands, Alain . Cochard, 2023/10/25
- Re: bash source code block: problem after ssh commands,
Ihor Radchenko <=
- Re: bash source code block: problem after ssh commands, Alain . Cochard, 2023/10/26
- Re: bash source code block: problem after ssh commands, Ihor Radchenko, 2023/10/26
- Re: bash source code block: problem after ssh commands, Alain . Cochard, 2023/10/27
- Re: bash source code block: problem after ssh commands, Max Nikulin, 2023/10/28
- Re: bash source code block: problem after ssh commands, Bruno Barbier, 2023/10/30
Re: bash source code block: problem after ssh commands, Russell Adams, 2023/10/26