emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: stderr vs start-process


From: Johan Bockgård
Subject: Re: stderr vs start-process
Date: Wed, 18 Apr 2007 02:24:36 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.93 (gnu/linux)

Stephen Leake <address@hidden> writes:

> Is there a way to separate standard error from standard output for
> the spawned process? That would probably be useful in some
> situations.

(info "(elisp)Output from Processes")

   It is impossible to separate the standard output and standard error
   streams of the subprocess, because Emacs normally spawns the
   subprocess inside a pseudo-TTY, and a pseudo-TTY has only one
   output channel. If you want to keep the output to those streams
   separate, you should redirect one of them to a file--for example,
   by using an appropriate shell command.

-- 
Johan Bockgård





reply via email to

[Prev in Thread] Current Thread [Next in Thread]