GNU bug report logs - #21605
24.3; Eshell not using stderr

Previous Next

Package: emacs;

Reported by: Nikolas De Giorgis <bznein <at> gmail.com>

Date: Fri, 2 Oct 2015 14:45:03 UTC

Severity: normal

Found in version 24.3

Done: Jim Porter <jporterbugs <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 21605 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Nikolas De Giorgis <bznein <at> gmail.com>
Cc: 21605 <at> debbugs.gnu.org, Jim Porter <jporterbugs <at> gmail.com>
Subject: Re: bug#21605: 24.3; Eshell not using stderr
Date: Thu, 12 May 2022 14:26:21 +0200
Nikolas De Giorgis <bznein <at> gmail.com> writes:

> Starting from emacs -Q
> go into eshell (M-x eshell)
> executing the following c++ program: 
> #include <iostream>
> int main()
> {
>    std::cerr << "ERROR\n";
>    std::cout << "OUTPUT\n";
> }
> provides the following output:
> ~ $ ./a.out 2> /dev/null
> ERROR
> OUTPUT
> From which it seems that eshell ignores stderr and sends everything to stdout

(I'm going through old bug reports that unfortunately weren't resolved
at the time.)

This seems to be the case in Emacs 29, too, but I'm not sure whether
this is by design or not.  I've added Jim to the CCs; perhaps he has
some input here.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 2 years and 323 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.