unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Stephen Leake <stephen_leake@member.fsf.org>
Cc: emacs-devel@gnu.org
Subject: Re: stderr vs start-process
Date: Mon, 23 Apr 2007 12:02:58 +0300	[thread overview]
Message-ID: <uirbnxy2l.fsf@gnu.org> (raw)
In-Reply-To: <uabx65ylb.fsf@member.fsf.org> (message from Stephen Leake on Tue, 17 Apr 2007 20:13:20 -0400)

> From: Stephen Leake <stephen_leake@member.fsf.org>
> 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.

      parent reply	other threads:[~2007-04-23  9:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-18  0:13 stderr vs start-process Stephen Leake
2007-04-18  0:24 ` Johan Bockgård
2007-04-23  9:02 ` Eli Zaretskii [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=uirbnxy2l.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=stephen_leake@member.fsf.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).