unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
Cc: bug-gnu-emacs@gnu.org
Subject: Re: gnuplot vs. emacs' compile command
Date: Mon, 19 May 2003 10:54:25 -0400	[thread overview]
Message-ID: <E19Hm1x-0006ai-00@fencepost.gnu.org> (raw)
In-Reply-To: <200305150937.LAA04890@acp3bf.physik.rwth-aachen.de> (message from Hans-Bernhard Broeker on Thu, 15 May 2003 11:37:37 +0200)

   emacs -eval '(compile "sh gpaction")'       # doesn't plot, but returns

M-x compile kills the whole process group when the compiler exits.
This is because it needs to deallocate the pty.  In situations like
this, the result is undesirable, but I don't see what change we could
reasonably make.,

   emacs -eval '(shell-command "sh gpaction")' # plots, but then hangs

This uses call-process.  I think that waits until the output pipe
returns EOF, which I think requires it to get closed by all writers.
This might be a bug, but I am not sure it is a bug.

If gnuplot were to give the subprocess a different standard output
descriptor, Emacs would not wait for it to terminate.

  reply	other threads:[~2003-05-19 14:54 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-15  9:37 gnuplot vs. emacs' compile command Hans-Bernhard Broeker
2003-05-19 14:54 ` Richard Stallman [this message]
2003-05-19 15:26   ` Hans-Bernhard Broeker
2003-05-20 11:16     ` Andreas Schwab
2003-05-20 12:16       ` Hans-Bernhard Broeker
2003-05-23 16:17         ` Hans-Bernhard Broeker
     [not found] <mailman.6238.1052991489.21513.bug-gnu-emacs@gnu.org>
2003-05-15 10:10 ` David Kastrup

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.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=E19Hm1x-0006ai-00@fencepost.gnu.org \
    --to=rms@gnu.org \
    --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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.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).