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: Sam Halliday
Subject: Re: run emacs in batch mode without a tty
Date: Fri, 3 Jul 2015 09:29:41 -0700 (PDT)
User-agent: G2/1.0

On Friday, 3 July 2015 16:42:39 UTC+1, Sam Halliday  wrote:
> On Friday, 3 July 2015 14:51:05 UTC+1, Eli Zaretskii  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
> 
> Are you running this command in an environment where there is no /dev/[pt]ty* 
> ?

BTW, I created a little example of running your script in a docker instance 
that doesn't have a /dev/[pt]ty*

  https://github.com/fommil/drone-tests/blob/master/.drone.yml

and that seems to be working! I'll investigate further why my tests seem to 
need a tty.


reply via email to

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