emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Alexis <flexibeast@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Emacs unresponsive while executing Sh code block
Date: Fri, 06 Mar 2015 13:11:58 +1100	[thread overview]
Message-ID: <87r3t227td.fsf@gmail.com> (raw)
In-Reply-To: <CA+GKSr4xQLbGrzZGmOdKsV146aVZLmx6w-agcW=rMcRRSGMf=w@mail.gmail.com>


On 2015-03-06T05:40:33+1100, Giacomo M <jackjackk@gmail.com> said:

 GM> Dear all,

 GM> when I C-c C-c in: #+BEGIN_SRC sh gnome-terminal #+END_SRC

 GM> a gnome-terminal window appears, but Emacs hangs until I 
 close GM> it.  In the *Messages* I get:

 GM> executing Sh code block...  Wrote GM> 
 /tmp/babel-2307H-J/ob-input-2307i3c (....here Emacs hangs... then 
 GM> I close gnome-terminal) Error reading results: GM> 
 (beginning-of-buffer) Code block produced no output.

My guess is that Emacs is waiting for the final output from 
`gnome-terminal`, which doesn't get sent until you close 
`gnome-terminal`.


Alexis.

  reply	other threads:[~2015-03-06  2:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-05 18:40 Emacs unresponsive while executing Sh code block Giacomo M
2015-03-06  2:11 ` Alexis [this message]
2015-03-06  6:00 ` Nick Dokos
2015-03-06  6:08 ` Nick Dokos

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=87r3t227td.fsf@gmail.com \
    --to=flexibeast@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).