emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Org-babel shell evaluate with session does not return results
@ 2015-11-19 18:28 Giri Prashanth
  2015-11-28 19:17 ` Grant Rettke
  0 siblings, 1 reply; 3+ messages in thread
From: Giri Prashanth @ 2015-11-19 18:28 UTC (permalink / raw)
  To: emacs-orgmode

[-- 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 --]

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

end of thread, other threads:[~2015-12-01 15:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-19 18:28 Org-babel shell evaluate with session does not return results Giri Prashanth
2015-11-28 19:17 ` Grant Rettke
2015-12-01 15:18   ` Giri Prashanth

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