From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Leake Newsgroups: gmane.emacs.devel Subject: stderr vs start-process Date: Tue, 17 Apr 2007 20:13:20 -0400 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1176855224 6128 80.91.229.12 (18 Apr 2007 00:13:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 18 Apr 2007 00:13:44 +0000 (UTC) To: emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 18 02:13:38 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 1Hdxnl-0004b2-Bt for ged-emacs-devel@m.gmane.org; Wed, 18 Apr 2007 02:13:37 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HdxsX-00006I-6a for ged-emacs-devel@m.gmane.org; Tue, 17 Apr 2007 20:18:33 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HdxsU-00005y-03 for emacs-devel@gnu.org; Tue, 17 Apr 2007 20:18:30 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HdxsS-00005l-Ia for emacs-devel@gnu.org; Tue, 17 Apr 2007 20:18:29 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HdxsS-00005i-Cd for emacs-devel@gnu.org; Tue, 17 Apr 2007 20:18:28 -0400 Original-Received: from smtp02.lnh.mail.rcn.net ([207.172.157.102]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Hdxnf-0000ua-O5 for emacs-devel@gnu.org; Tue, 17 Apr 2007 20:13:31 -0400 Original-Received: from mr08.lnh.mail.rcn.net ([207.172.157.28]) by smtp02.lnh.mail.rcn.net with ESMTP; 17 Apr 2007 20:13:30 -0400 Original-Received: from smtp01.lnh.mail.rcn.net (smtp01.lnh.mail.rcn.net [207.172.4.11]) by mr08.lnh.mail.rcn.net (MOS 3.8.3-GA) with ESMTP id IOA92859; Tue, 17 Apr 2007 20:13:28 -0400 (EDT) Original-Received: from 208-59-165-113.c3-0.slvr-ubr1.lnh-slvr.md.cable.rcn.com (HELO ACS1100007992) ([208.59.165.113]) by smtp01.lnh.mail.rcn.net with ESMTP; 17 Apr 2007 20:13:23 -0400 User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (windows-nt) X-Junkmail-Status: score=10/50, host=mr08.lnh.mail.rcn.net X-Junkmail-SD-Raw: score=unknown, refid=str=0001.0A09020A.462562A8.009B,ss=1,fgs=0, ip=207.172.4.11, so=2006-12-09 10:45:40, dmn=5.1.5/2006-01-31 X-detected-kernel: FreeBSD 2.0-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:69548 Archived-At: 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. Is there a way to separate standard error from standard output for the spawned process? That would probably be useful in some situations. -- -- Stephe