all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Warren Harris <warren@metaweb.com>
To: bug-gnu-emacs@gnu.org
Subject: bug#2653: shell terminates when cmd sets stdout to non-blocking
Date: Thu, 12 Mar 2009 17:43:47 -0700	[thread overview]
Message-ID: <4848E3AC-1F6F-4D1B-A12C-A60AAB0080E2@metaweb.com> (raw)

If emacs runs an inferior sub-shell (e.g. bash), and a shell command  
is executed which sets its stdout to non-blocking, the inferior shell  
will terminate when the command terminates. On termination, the  
message is given:

Process shell finished

This happens regardless of the exit status of the command. The  
solution seems to be to rewrite the program to set its stdout to be  
blocking before exiting.









                 reply	other threads:[~2009-03-13  0:43 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4848E3AC-1F6F-4D1B-A12C-A60AAB0080E2@metaweb.com \
    --to=warren@metaweb.com \
    --cc=2653@emacsbugs.donarmstrong.com \
    --cc=bug-gnu-emacs@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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.