[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Redirecting standard output
From: |
Lars Magne Ingebrigtsen |
Subject: |
Re: Redirecting standard output |
Date: |
Sat, 23 Apr 2011 20:46:36 +0200 |
User-agent: |
Gnus/5.110016 (No Gnus v0.16) Emacs/24.0.50 (gnu/linux) |
Eli Zaretskii <address@hidden> writes:
> You are in danger of reinventing the wait_reading_process_output
> wheel. I'm not sure that kind of complexity is justified for such a
> marginal need, just for the sake of theoretical completeness and/or
> symmetry between stdout and stderr. I think redirecting to a
> temporary file and then reading from there is more than adequate, and
> all but indistinguishable from the user POV (since we wait for the
> process to exit anyway).
Symmetry is nice, and temp file handling is always a hassle, so if it
can be avoided (without adding too much complexity), it seems worthwhile
to me...
>> Or are there gotchas when using select in Emacs?
>
> wait_reading_process_output already uses select, so adding another one
> is probably not a good idea.
Would `select'-ing on two separate collections of sockets cause any
problems?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog http://lars.ingebrigtsen.no/
- Re: Redirecting standard output, (continued)
- 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, 2011/04/21
- 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 <=
- 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
Re: Redirecting standard output, Michael Albinus, 2011/04/21
Re: Redirecting standard output, Eli Zaretskii, 2011/04/21