emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Suhail Singh <suhailsingh247@gmail.com>
To: Org mailing list <emacs-orgmode@gnu.org>
Subject: ob-shell: async support in "shell" vs "bash"
Date: Sun, 09 Jun 2024 22:33:26 -0400	[thread overview]
Message-ID: <87h6e134sp.fsf@gmail.com> (raw)

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


             reply	other threads:[~2024-06-10  2:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-10  2:33 Suhail Singh [this message]
2024-06-16 18:32 ` ob-shell: async support in "shell" vs "bash" Matt
2024-06-16 22:02   ` Suhail Singh
2024-06-17 15:36     ` Ihor Radchenko

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=87h6e134sp.fsf@gmail.com \
    --to=suhailsingh247@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).