* bug#2653: shell terminates when cmd sets stdout to non-blocking
@ 2009-03-13 0:43 Warren Harris
0 siblings, 0 replies; only message in thread
From: Warren Harris @ 2009-03-13 0:43 UTC (permalink / raw)
To: bug-gnu-emacs
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.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-03-13 0:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-13 0:43 bug#2653: shell terminates when cmd sets stdout to non-blocking Warren Harris
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.