Subject: Re: bug#31497: 27.0.50; vc-hg doesn't separate standard error from standard output

From: Lars Ingebrigtsen <[email-masked]>
Date: Fri, 11 Oct 2019 09:27:43 +0200

Eli Zaretskii <[email-masked]> 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