bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#24287: Process filters received stderr output, not documented


From: Paul A. Steckler
Subject: bug#24287: Process filters received stderr output, not documented
Date: Mon, 22 Aug 2016 15:08:47 -0400

That's true, but the documentation for filter functions is misleading.
It specifically mentions the standard output of the associated
process, but neglects to mention the standard error.

Also, one might not see that earlier section when looking at the
documentation for filter functions. I did not see that section, in
fact, when using the manual to help me write my code.

-- Paul

On Mon, Aug 22, 2016 at 2:23 PM, Eli Zaretskii <eliz@gnu.org> wrote:
>> From: "Paul A. Steckler" <steck@stecksoft.com>
>> Date: Mon, 22 Aug 2016 13:35:25 -0400
>>
>> The documentation for Process Filter Functions mentions that process
>> filters receive the standard output from their associated processes. It
>> does not mention that the filters also receive standard error output.
>
> That is described in the parent section:
>
>      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.





reply via email to

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