From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: stderr vs start-process Date: Mon, 23 Apr 2007 12:02:58 +0300 Message-ID: References: Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: sea.gmane.org 1177319041 13372 80.91.229.12 (23 Apr 2007 09:04:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 23 Apr 2007 09:04:01 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stephen Leake Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Apr 23 11:03:54 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HfuSZ-0003aB-9p for ged-emacs-devel@m.gmane.org; Mon, 23 Apr 2007 11:03:47 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HfuXw-0005V5-OP for ged-emacs-devel@m.gmane.org; Mon, 23 Apr 2007 05:09:20 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HfuXM-0005LI-2S for emacs-devel@gnu.org; Mon, 23 Apr 2007 05:08:44 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HfuXJ-0005Kc-QB for emacs-devel@gnu.org; Mon, 23 Apr 2007 05:08:43 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HfuXJ-0005KW-JI for emacs-devel@gnu.org; Mon, 23 Apr 2007 05:08:41 -0400 Original-Received: from nitzan.inter.net.il ([213.8.233.22]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HfuRt-0003aG-3K; Mon, 23 Apr 2007 05:03:05 -0400 Original-Received: from HOME-C4E4A596F7 (IGLD-80-230-148-102.inter.net.il [80.230.148.102]) by nitzan.inter.net.il (MOS 3.7.3a-GA) with ESMTP id GOW30426 (AUTH halo1); Mon, 23 Apr 2007 12:02:59 +0300 (IDT) In-reply-to: (message from Stephen Leake on Tue, 17 Apr 2007 20:13:20 -0400) X-detected-kernel: FreeBSD 4.7-5.2 (or MacOS X 10.2-10.4) (2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:69842 Archived-At: > From: Stephen Leake > Date: Tue, 17 Apr 2007 20:13:20 -0400 > > The help string for `start-process' does not say what happens to > stderr for the spawned process. It just says: > > Process output goes at end of that buffer, unless you specify > an output stream or filter function to handle the output. > > I tested this (on Windows XP) and it seems both stderr and stdout go > to that buffer. I tried reading the C code in process.c, but quickly > got lost. > > I suggest that the help string be modified to: > > Process output (both standard error and standard output) goes at > end of that buffer, unless you specify an output stream or filter > function to handle the output. Done. > Is there a way to separate standard error from standard output for the > spawned process? That would probably be useful in some situations. I added a sentence about this to the doc string.