GNU bug report logs -
#46388
27.1; emacs -batch does not output messages immediately when invoked outside of the command prompt
Previous Next
Full log
View this message in rfc822 format
> Date: Tue, 09 Feb 2021 22:52:13 +0200
> From: Eli Zaretskii <eliz <at> gnu.org>
> Cc: 46388 <at> debbugs.gnu.org
>
> > For #2, emacs batch stderr behavior when invoked from outside the
> > command line is not compatible with the posix standard, since it uses
> > "fully buffered" mode, which actually makes it behave very differently
> > from Linux (which is posix compliant by always having stderr as being
> > unbuffered). Thus, the suggested patch actually addresses this
> > concern, rather than invalidating it.
>
> Again, are you sure it isn't the pipe that imposes buffering?
Moreover, even if we did make the change you propose, it will only
affect Emacs as a subprocess, but not when Emacs is the parent process
and some other program (e.g., Python) is the subprocess. IOW, the
main problem, which is that interactive subprocesses behave on
MS-Windows differently from their behavior when invoked from the
console -- this problem will remain unsolved as long as Emacs can only
use pipes for communications with subprocesses.
This bug report was last modified 4 years and 70 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.