* Re: call-process vs start-process
[not found] <200206241421.aa27980@gremlin-relay.ics.uci.edu>
@ 2002-06-25 23:33 ` Richard Stallman
2002-06-26 14:15 ` Stefan Monnier
0 siblings, 1 reply; 2+ messages in thread
From: Richard Stallman @ 2002-06-25 23:33 UTC (permalink / raw)
Cc: emacs-devel
When using `start-process' the child process seems to be killed by a
SIGHUP from emacs. Is this OK? Is emacs supposed to send SIGHUP to the
child process?
I believe this is normal. Emacs does not explicitly send SIGHUP. It
probably results from Emacs's closing the pty.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: call-process vs start-process
2002-06-25 23:33 ` call-process vs start-process Richard Stallman
@ 2002-06-26 14:15 ` Stefan Monnier
0 siblings, 0 replies; 2+ messages in thread
From: Stefan Monnier @ 2002-06-26 14:15 UTC (permalink / raw)
Cc: emacs-devel
> When using `start-process' the child process seems to be killed by a
> SIGHUP from emacs. Is this OK? Is emacs supposed to send SIGHUP to the
> child process?
>
> I believe this is normal. Emacs does not explicitly send SIGHUP. It
> probably results from Emacs's closing the pty.
Indeed, I think it's difficult for Emacs to fix your problem without
introducing others in other circumstances. Instead, `xdvi' should be
changed to explicitly ignore SIGHUP after the fork. After all,
the same problem can happen if you open an xterm, run the xdvi command
and close the xterm after the `xdvi' command returns but before the
forked `xdvi' process terminates (which usually wouldn't happen because
the time window is short, but if the machine is heavily loaded or if
the forked `xdvi' ends up having to wait for something like the Xserver,
this can happen).
Stefan
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-06-26 14:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <200206241421.aa27980@gremlin-relay.ics.uci.edu>
2002-06-25 23:33 ` call-process vs start-process Richard Stallman
2002-06-26 14:15 ` Stefan Monnier
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).