[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: |
Thu, 21 Apr 2011 21:31:58 +0200 |
User-agent: |
Gnus/5.110016 (No Gnus v0.16) Emacs/24.0.50 (gnu/linux) |
Davis Herring <address@hidden> writes:
> You can call `pipe' more than once; the trouble comes when you have to
> choose which one to read from to avoid blocking the process. Probably
> it's just that no one has bothered to implement it carefully enough with
> `select' or so.
Oh, I see... I was a bit confused about how pipe worked. Yes, that
makes sense. Just hook up the STDERR endpoint to a pipe, too, and
you're in business.
For the MSDOS case (with STDERR-to-buffer), we'd just have to open
another temp file, just like we do with STDOUT, so that's a very minor
change.
For the non-MSDOS case, using two pipes and select shouldn't be too
difficult to implement, I think? Or are there gotchas when using select
in Emacs?
But before embarking on that, I'd like to get some more feedback on the
existing patch. :-)
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog http://lars.ingebrigtsen.no/
- 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, 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 <=
- 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
Re: Redirecting standard output, Michael Albinus, 2011/04/21
Re: Redirecting standard output, Eli Zaretskii, 2011/04/21