[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Redirecting standard output
From: |
Jan Djärv |
Subject: |
Re: Redirecting standard output |
Date: |
Thu, 21 Apr 2011 19:05:39 +0200 |
21 apr 2011 kl. 16:10 skrev Eli Zaretskii <address@hidden>:
>> From: Lars Magne Ingebrigtsen <address@hidden>
>> Date: Thu, 21 Apr 2011 15:25:29 +0200
>>
>> However, redirecting STDERR to a buffer seems like it would be quite
>> complicated, unfortunately. I thought that having STDOUT and STDERR be
>> handled symmetrically would be a nice feature (for redirecting STDOUT to
>> one buffer and STDERR to another, for instance), but unless I'm reading
>> the code wrong (and I very well could be), I don't see an obvious way to
>> do that.
>
> On Posix systems, we use a pipe to read from subprocess's STDOUT. You
> cannot do the same with STDERR, but you can redirect STDERR to a
> temporary file, and then read it when the subprocess exits.
That is news to me. I've redirected STDERR to a pipe many times in other
programs. Why can't it be done in Emacs?
Jan D.
- Re: Redirecting standard output, (continued)
- Re: Redirecting standard output, Eli Zaretskii, 2011/04/21
- Re: Redirecting standard output, Lars Magne Ingebrigtsen, 2011/04/21
- Re: Redirecting standard output, Lars Magne Ingebrigtsen, 2011/04/21
- Re: Redirecting standard output, Eli Zaretskii, 2011/04/21
- Re: Redirecting standard output, Lars Magne Ingebrigtsen, 2011/04/21
- Re: Redirecting standard output, Lars Magne Ingebrigtsen, 2011/04/21
- Re: Redirecting standard output, Eli Zaretskii, 2011/04/21
- Re: Redirecting standard output, Lars Magne Ingebrigtsen, 2011/04/21
- Re: Redirecting standard output, Lars Magne Ingebrigtsen, 2011/04/21
- Re: Redirecting standard output, Eli Zaretskii, 2011/04/21
- Re: Redirecting standard output,
Jan Djärv <=
- Re: Redirecting standard output, Eli Zaretskii, 2011/04/21
- Re: Redirecting standard output, Davis Herring, 2011/04/21
- Re: Redirecting standard output, Lars Magne Ingebrigtsen, 2011/04/21
- Re: Redirecting standard output, Eli Zaretskii, 2011/04/22
- Re: Redirecting standard output, Lars Magne Ingebrigtsen, 2011/04/23
- Re: Redirecting standard output, Eli Zaretskii, 2011/04/23
- Re: Redirecting standard output, Jan Djärv, 2011/04/24
- Re: Redirecting standard output, Lars Magne Ingebrigtsen, 2011/04/30
- Re: Redirecting standard output, Lars Magne Ingebrigtsen, 2011/04/30
- Re: Redirecting standard output, Glenn Morris, 2011/04/21