[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Weird behavior of kill-emacs
From: |
Eli Zaretskii |
Subject: |
Re: Weird behavior of kill-emacs |
Date: |
Wed, 18 Feb 2015 21:25:42 +0200 |
> From: Philipp Stephani <p.stephani2@gmail.com>
> Date: Wed, 18 Feb 2015 18:58:13 +0000
>
> $ emacs -Q -batch -eval '(progn (read) (kill-emacs 37))' < /dev/null ; echo
> $?
> Lisp expression: Error reading from stdin
> 0
>
> So Emacs silently succeeds if it hit EOF of stdin, no matter what the exit
> code passed to kill-emacs was!
I stand corrected: kill-emacs _is_ called.
Please report this as a bug.