[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Really noninteractive
From: |
Noam Postavsky |
Subject: |
Re: Really noninteractive |
Date: |
Thu, 20 Feb 2020 12:56:32 -0500 |
On Thu, 20 Feb 2020 at 12:43, Lars Ingebrigtsen <address@hidden> wrote:
> > -- Variable: noninteractive
> > This variable is non-‘nil’ when Emacs is running in batch mode.
> >
> > So, in your case, emacs does not really hang, but awaits input from
> > terminal.
>
> I think that's what I said? And I wondered whether there was any way to
> make that error out instead of prompting.
I think if you redirect stdin from /dev/null any
noninteractive/batch-mode reading will fail immediately.
Re: Really noninteractive, Ihor Radchenko, 2020/02/20