[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [SUGGESTION] ob-shell async result output should not contains shell
From: |
Matt |
Subject: |
Re: [SUGGESTION] ob-shell async result output should not contains shell prompt |
Date: |
Thu, 23 Mar 2023 00:21:13 -0400 |
User-agent: |
Zoho Mail |
---- On Wed, 22 Mar 2023 23:25:50 -0400 Christopher M. Miles wrote ---
>
> The ob-shell async result output contains the shell prompt. I think it
> should not be captured.
>
> #+begin_src shell :session "test2" :async t
> sleep 30
> echo "hello, world"
> #+end_src
>
> #+RESULTS[(2023-03-23 11:19:22) 461ed5de684f6e619890709175ec73e80b67b2d6]:
> : bash-5.2$ hello, world
Thanks for reporting this.
Try using for the babel language whatever shell the variable `shell-file-name'
gives. For example, if `shell-file-name' is /bin/bash, do this:
#+begin_src bash :session "test2" :async t
sleep 1
echo "hello, world"
#+end_src
Is there a reason you're using "shell" instead of one of the shells listed in
`org-babel-shell-names'?
- [SUGGESTION] ob-shell async result output should not contains shell prompt, Christopher M. Miles, 2023/03/22
- Re: [SUGGESTION] ob-shell async result output should not contains shell prompt,
Matt <=
- Re: [SUGGESTION] ob-shell async result output should not contains shell prompt, Christopher M. Miles, 2023/03/23
- Remove "shell" as a supported Babel language within ob-shell.el (was Re: [SUGGESTION] ob-shell async result output should not contains shell prompt), Matt, 2023/03/23
- Re: Remove "shell" as a supported Babel language within ob-shell.el, Christopher M. Miles, 2023/03/23
- Re: Remove "shell" as a supported Babel language within ob-shell.el (was Re: [SUGGESTION] ob-shell async result output should not contains shell prompt), Ihor Radchenko, 2023/03/24
- Re: Remove "shell" as a supported Babel language within ob-shell.el (was Re: [SUGGESTION] ob-shell async result output should not contains shell prompt), Samuel Wales, 2023/03/25
- Re: Remove "shell" as a supported Babel language within ob-shell.el (was Re: [SUGGESTION] ob-shell async result output should not contains shell prompt), Ihor Radchenko, 2023/03/25
- Re: Remove "shell" as a supported Babel language within ob-shell.el (was Re: [SUGGESTION] ob-shell async result output should not contains shell prompt), Matt, 2023/03/27