From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: [Windows] Emacs crashes due to faulty init.el. Exit status is still zero on windows
Date: Wed, 09 Jan 2019 17:59:32 +0200 [thread overview]
Message-ID: <83ef9lizyz.fsf@gnu.org> (raw)
In-Reply-To: <CAM7jgNUZa2ednhUVDRRF1z4JYvSZEPJzjqT5FK+jU_Tfx9y6eQ@mail.gmail.com> (message from Manas Jayanth on Wed, 9 Jan 2019 13:30:12 +0530)
> From: Manas Jayanth <prometheansacrifice@gmail.com>
> Date: Wed, 9 Jan 2019 13:30:12 +0530
>
> I use `emacs --script init.el` to make sure my configs run on all three
> platforms. I noticed on Windows the emacs process never returns non zero.
> Am I doing something wrong? Or is this a known issue?
I can definitely cause "emacs --script" exit with non-zero status on
MS-Windows, e.g. by calling 'error' in the script. So please tell
more detail, and perhaps show a minimal reproducer for this issue.
Also, how did you test the exit status?
In general, I see no reason that Emacs on Windows would fail reporting
a non-zero exit status when it exits with failure: it uses the same
code as on other platforms.
prev parent reply other threads:[~2019-01-09 15:59 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-09 8:00 [Windows] Emacs crashes due to faulty init.el. Exit status is still zero on windows Manas Jayanth
2019-01-09 15:59 ` Eli Zaretskii [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83ef9lizyz.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).