unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Zombie subprocesses
@ 2012-11-23 21:49 Harald Hanche-Olsen
  2012-11-23 22:23 ` Paul Eggert
  2012-11-24  5:51 ` James Cloos
  0 siblings, 2 replies; 11+ messages in thread
From: Harald Hanche-Olsen @ 2012-11-23 21:49 UTC (permalink / raw)
  To: emacs-devel

I recently discovered that emacs has a bunch of zombie subprocesses.
A bit of experimenting reveals that if I run

(call-process "/bin/sleep" nil 0 nil "5")

then this returns immediately, as expected, but after 5 seconds, the
subprocess becomes a zombie and never goes away.

Is this the intended behaviour, or a bug? Should I file a bug report?

This is on OS X 10.8.2, Emacs built from trunk a couple weeks ago.

(I use this technique to start external viewers for various types of
files. But the program I use the most forks on its own, so I can
easily replace the argument 0 by nil and avoid the problem. But I
thought it worth reporting anyhow.)

- Harald



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2012-11-27  2:36 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-23 21:49 Zombie subprocesses Harald Hanche-Olsen
2012-11-23 22:23 ` Paul Eggert
2012-11-23 22:33   ` Ken Brown
2012-11-24  6:19     ` Eli Zaretskii
2012-11-24  8:24   ` Chong Yidong
2012-11-24  8:26   ` Paul Eggert
2012-11-24  8:46     ` Eli Zaretskii
2012-11-24  9:45       ` Paul Eggert
2012-11-24 10:10     ` Harald Hanche-Olsen
2012-11-27  2:36       ` Paul Eggert
2012-11-24  5:51 ` James Cloos

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).