bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#31552: 27.0.50; Document that Emacs in batch mode exits with exit st


From: Philipp Stephani
Subject: bug#31552: 27.0.50; Document that Emacs in batch mode exits with exit status -1 on error
Date: Tue, 22 May 2018 19:19:54 +0200



Eli Zaretskii <address@hidden> schrieb am Di., 22. Mai 2018 um 19:17 Uhr:
> From: Philipp <address@hidden>
> Date: Tue, 22 May 2018 15:41:25 +0200
>
> I haven't found any documentation in the Lisp reference manual that the
> exit status of an Emacs process exiting due to a nonlocal exit is -1 by
> default (adjusted to 255 by Bash).  This should be documented, for users
> that run Emacs in batch mode.

I'm not sure I understand what you are describing.  Can you show a
reproducer?


$ src/emacs -Q -batch -eval '(error "foo")' ; echo $?

foo

255 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]