[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#31497: 27.0.50; vc-hg doesn't separate standard error from standard
From: |
Lars Ingebrigtsen |
Subject: |
bug#31497: 27.0.50; vc-hg doesn't separate standard error from standard output |
Date: |
Fri, 11 Oct 2019 09:27:43 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Eli Zaretskii <eliz@gnu.org> writes:
>> I can confirm that this bug is still present in Emacs 27. The command
>> is started from vc-doc-command, which uses start-file-process, which
>> uses start-process, which doesn't even allow separating stderr from
>> stdin.
>>
>> (In general, Emacs stderr/stdin handling is very frustrating.)
>
>>From the doc string of start-process:
>
> If you want to separate standard output from standard error, use
> ‘make-process’ or invoke the command through a shell and redirect
> one of them using the shell syntax.
Yes, I think start-file-process and start-process should also provide
the same stderr capabilities as make-process. Those two functions are
handy, but lead to sloppy handling of stderr.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no