help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: run emacs in batch mode without a tty


From: Eli Zaretskii
Subject: Re: run emacs in batch mode without a tty
Date: Fri, 03 Jul 2015 23:14:40 +0300

> Date: Fri, 3 Jul 2015 10:07:06 -0700 (PDT)
> From: Sam Halliday <sam.halliday@gmail.com>
> 
> >   emacs -batch --eval "(princ \"Hello, world\!\n\")" < /dev/null > foo
> 
> Aah, the difference is that you're using `-batch`

Excuse me?  It was you who asked specifically about the batch mode:

> Is it possible to run emacs in batch mode without access to a tty? Is there a 
> way to mock a tty for these purposes?
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

> and that does allow me to do *some* things in the docker container, but emacs 
> seems to just exit when I start a `process`. The docs don't mention this as a 
> caveat http://www.emacswiki.org/emacs/BatchMode

What do you mean by "start a process"?

> Is there anything that you can think of that might cause a -batch emacs to 
> exit early?

How do you see it exiting early?  Please provide the details of what
you see, as I have no way of trying this on a system similar to yours.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]