* [Windows] Emacs crashes due to faulty init.el. Exit status is still zero on windows
@ 2019-01-09 8:00 Manas Jayanth
2019-01-09 15:59 ` Eli Zaretskii
0 siblings, 1 reply; 2+ messages in thread
From: Manas Jayanth @ 2019-01-09 8:00 UTC (permalink / raw)
To: help-gnu-emacs
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?
--
- prometheansacrifice
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Windows] Emacs crashes due to faulty init.el. Exit status is still zero on windows
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
0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2019-01-09 15:59 UTC (permalink / raw)
To: help-gnu-emacs
> 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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-01-09 15:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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).