emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Giri Prashanth <giri.prashanth@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Org-babel shell evaluate with session does not return results
Date: Thu, 19 Nov 2015 10:28:05 -0800	[thread overview]
Message-ID: <CABp7NWRb0eT4JrM9ZwB+P4LJJ74wbdMheVHXCDck_YmVNcQmRw@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 728 bytes --]

Hi,

I am trying to run a shell commands from org-mode with using sessions.

I would like to use the session property, so I could continue with the
previous history. But when I execute the following,

#+BEGIN_SRC shell :session test
echo foo
#+END_SRC

nothing happens with emacs is unresponsive and the echo area says:
executing Shell code block...

I am able to quit with C-g and there is buffer with name test created which
has bash prompt.

I was also able to run the shell commands without session and it returns
the output, like below
#+BEGIN_SRC shell
echo foo
#+END_SRC

#+RESULTS:
: foo

Any reason why org babel execute for shell with session does not terminate ?
Thank you very much in advance for any response,

-GP

[-- Attachment #2: Type: text/html, Size: 1158 bytes --]

             reply	other threads:[~2015-11-19 18:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-19 18:28 Giri Prashanth [this message]
2015-11-28 19:17 ` Org-babel shell evaluate with session does not return results Grant Rettke
2015-12-01 15:18   ` Giri Prashanth

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=CABp7NWRb0eT4JrM9ZwB+P4LJJ74wbdMheVHXCDck_YmVNcQmRw@mail.gmail.com \
    --to=giri.prashanth@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).