emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* ob-shell: async support in "shell" vs "bash"
@ 2024-06-10  2:33 Suhail Singh
  2024-06-16 18:32 ` Matt
  0 siblings, 1 reply; 4+ messages in thread
From: Suhail Singh @ 2024-06-10  2:33 UTC (permalink / raw)
  To: Org mailing list

On my system both "shell" and "bash" language blocks use "bash" as
checked by:

    #+begin_src shell :results replace
      cat /proc/$$/comm
    #+end_src

    #+RESULTS:
    : bash

    #+begin_src bash :results replace
      cat /proc/$$/comm
    #+end_src

    #+RESULTS:
    : bash

However, the value of org-babel-header-args:lang differs:

    #+begin_src emacs-lisp :results value replace verbatim
      org-babel-header-args:shell
    #+end_src

    #+RESULTS:
    : ((async (yes no)))

    #+begin_src emacs-lisp :results value replace verbatim
      org-babel-header-args:bash
    #+end_src

    #+RESULTS:
    : nil

Is this a bug, or are async blocks only currently allowed in "shell"
language blocks and not "bash" language blocks?

-- 
Suhail


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-06-17 15:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-10  2:33 ob-shell: async support in "shell" vs "bash" Suhail Singh
2024-06-16 18:32 ` Matt
2024-06-16 22:02   ` Suhail Singh
2024-06-17 15:36     ` Ihor Radchenko

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).