GNU bug report logs - #2653
shell terminates when cmd sets stdout to non-blocking

Previous Next

Package: emacs;

Reported by: Warren Harris <warren <at> metaweb.com>

Date: Fri, 13 Mar 2009 00:50:03 UTC

Severity: normal

Tags: unreproducible

Merged with 2602

Done: Andrew Hyatt <ahyatt <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 2653 in the body.
You can then email your comments to 2653 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#2653; Package emacs. (Fri, 13 Mar 2009 00:50:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Warren Harris <warren <at> metaweb.com>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Fri, 13 Mar 2009 00:50:04 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Warren Harris <warren <at> metaweb.com>
To: bug-gnu-emacs <at> gnu.org
Subject: shell terminates when cmd sets stdout to non-blocking
Date: Thu, 12 Mar 2009 17:43:47 -0700
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.







Merged 2602 2653. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Fri, 13 Mar 2009 02:40:04 GMT) Full text and rfc822 format available.

Added tag(s) unreproducible. Request was from Andrew Hyatt <ahyatt <at> gmail.com> to control <at> debbugs.gnu.org. (Sun, 24 Jan 2016 22:05:01 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 2602 <at> debbugs.gnu.org and "William K. Foster" <wkf <at> alum.mit.edu> Request was from Andrew Hyatt <ahyatt <at> gmail.com> to control <at> debbugs.gnu.org. (Mon, 25 Jan 2016 04:24:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 22 Feb 2016 12:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 9 years and 177 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.