[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: run emacs in batch mode without a tty
From: |
Barry Margolin |
Subject: |
Re: run emacs in batch mode without a tty |
Date: |
Fri, 03 Jul 2015 11:07:31 -0400 |
User-agent: |
MT-NewsWatcher/3.5.3b3 (Intel Mac OS X) |
In article <mailman.6240.1435931463.904.help-gnu-emacs@gnu.org>,
Eli Zaretskii <eliz@gnu.org> wrote:
> > Date: Fri, 3 Jul 2015 06:26:37 -0700 (PDT)
> > From: Sam Halliday <sam.halliday@gmail.com>
> >
> > Emacs won't run without one. It just crashes.
>
> It does? It doesn't for me:
>
> emacs -batch --eval "(princ \"Hello, world\!\n\")" < /dev/null > foo
>
> I get no crash and the expected message in the file 'foo'.
>
> Anyway, if you see crashes due to lack of a TTY, please report that as
> a bug using "M-x report-emacs-bug".
That process still has a TTY, it's just not connected to stdin or
stdout. But it's accessible as /dev/tty and also connected to stderr
(you forgot to do 2>&1 to disconnect stderr).
I don't know offhand if this makes a difference to emacs, though.
--
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
- Re: run emacs in batch mode without a tty, (continued)
Re: run emacs in batch mode without a tty, Eli Zaretskii, 2015/07/03
Message not available
Message not availableRe: run emacs in batch mode without a tty,
Barry Margolin <=
Re: run emacs in batch mode without a tty, Eli Zaretskii, 2015/07/03
Re: run emacs in batch mode without a tty, Emanuel Berg, 2015/07/03
Message not availableRe: run emacs in batch mode without a tty, Sam Halliday, 2015/07/03
Re: run emacs in batch mode without a tty, Sam Halliday, 2015/07/03
Re: run emacs in batch mode without a tty, Eli Zaretskii, 2015/07/03
Message not availableRe: run emacs in batch mode without a tty, Sam Halliday, 2015/07/03
Re: run emacs in batch mode without a tty, Eli Zaretskii, 2015/07/03
Message not availableRe: run emacs in batch mode without a tty, Sam Halliday, 2015/07/03
Re: run emacs in batch mode without a tty, Sam Halliday, 2015/07/03
Re: run emacs in batch mode without a tty, Sam Halliday, 2015/07/03