From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sam Halliday Newsgroups: gmane.emacs.help Subject: Re: run emacs in batch mode without a tty Date: Fri, 3 Jul 2015 10:07:06 -0700 (PDT) Message-ID: <91362e27-aad2-4aa8-bfa6-d447881103d1@googlegroups.com> References: <74b79522-cff4-4173-ad1c-178ffdce70fd@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1435943422 12713 80.91.229.3 (3 Jul 2015 17:10:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 3 Jul 2015 17:10:22 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jul 03 19:10:21 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZB4Tl-0007Ut-82 for geh-help-gnu-emacs@m.gmane.org; Fri, 03 Jul 2015 19:10:21 +0200 Original-Received: from localhost ([::1]:42035 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZB4Tk-0005Ft-4i for geh-help-gnu-emacs@m.gmane.org; Fri, 03 Jul 2015 13:10:20 -0400 X-Received: by 10.13.241.68 with SMTP id a65mr48477440ywf.50.1435943226885; Fri, 03 Jul 2015 10:07:06 -0700 (PDT) X-Received: by 10.140.35.170 with SMTP id n39mr71158qgn.0.1435943226868; Fri, 03 Jul 2015 10:07:06 -0700 (PDT) Original-Path: usenet.stanford.edu!s91no801992qgd.1!news-out.google.com!4ni38106qgh.1!nntp.google.com!t90no802146qga.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=83.244.128.25; posting-account=kRukCAoAAAANs-vsVh9dFwo5kp5pwnPz Original-NNTP-Posting-Host: 83.244.128.25 User-Agent: G2/1.0 Injection-Date: Fri, 03 Jul 2015 17:07:06 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:213112 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:105399 Archived-At: 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 > > > > 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 Aah, the difference is that you're using `-batch` 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 Is there anything that you can think of that might cause a -batch emacs to exit early?