But the fact that `cvs diff src/minibuf.c |(sleep 120; wc)' works correctly make me think that maybe it is a bug in Emacs.
It might be a bug in Emacs that fails to read everything coming thru the pipe when the subprocess terminates. Can you see if it is that? Did you already check and see what happens when Emacs sees that the subprocess has terminated? sigchld_handler just sets a few flags; the real work is done later on by the code that checks the flags. For an async subprocess, it is done in status_notify. It has code to read any remaining output, but there could be a bug in it. _______________________________________________ Bug-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-cvs