From mboxrd@z Thu Jan 1 00:00:00 1970 From: Giri Prashanth Subject: Org-babel shell evaluate with session does not return results Date: Thu, 19 Nov 2015 10:28:05 -0800 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c2de0a78b6dc0524e8eb3e Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34257) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZzTwF-0005r8-Gj for emacs-orgmode@gnu.org; Thu, 19 Nov 2015 13:28:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZzTwE-0005wu-N9 for emacs-orgmode@gnu.org; Thu, 19 Nov 2015 13:28:07 -0500 Received: from mail-ob0-x22f.google.com ([2607:f8b0:4003:c01::22f]:33944) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZzTwE-0005wm-IS for emacs-orgmode@gnu.org; Thu, 19 Nov 2015 13:28:06 -0500 Received: by obbbj7 with SMTP id bj7so67144968obb.1 for ; Thu, 19 Nov 2015 10:28:05 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --001a11c2de0a78b6dc0524e8eb3e Content-Type: text/plain; charset=UTF-8 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 --001a11c2de0a78b6dc0524e8eb3e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,

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

I would = like to use the session property, so I could continue with the previous his= tory. But when I execute the following,=C2=A0

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

nothing happens with emacs is unresponsive and = the echo area says:
executing Shell code block...
<= br>
I am able to quit with C-g and there is buffer with name test= created which has bash prompt.

I was also ab= le to run the shell commands without session and it returns the output, lik= e below
#+BEGIN_SRC shell=C2=A0
echo foo
=
#+END_SRC

#+RESULTS:
: foo

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

-GP
--001a11c2de0a78b6dc0524e8eb3e--