From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: run emacs in batch mode without a tty Date: Fri, 03 Jul 2015 16:51:01 +0300 Message-ID: <83k2uhz6wq.fsf@gnu.org> References: <74b79522-cff4-4173-ad1c-178ffdce70fd@googlegroups.com> NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1435931488 15454 80.91.229.3 (3 Jul 2015 13:51:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 3 Jul 2015 13:51:28 +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 15:51:19 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 1ZB1N8-0001Ny-Nr for geh-help-gnu-emacs@m.gmane.org; Fri, 03 Jul 2015 15:51:19 +0200 Original-Received: from localhost ([::1]:41360 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZB1N8-0006kn-5l for geh-help-gnu-emacs@m.gmane.org; Fri, 03 Jul 2015 09:51:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44619) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZB1Mp-0006g3-Vk for help-gnu-emacs@gnu.org; Fri, 03 Jul 2015 09:51:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZB1Mm-00024U-Gn for help-gnu-emacs@gnu.org; Fri, 03 Jul 2015 09:50:59 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:41927) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZB1Mm-000249-2k for help-gnu-emacs@gnu.org; Fri, 03 Jul 2015 09:50:56 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0NQW00M00ZMZIU00@a-mtaout20.012.net.il> for help-gnu-emacs@gnu.org; Fri, 03 Jul 2015 16:50:54 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NQW00LKQZSOWWD0@a-mtaout20.012.net.il> for help-gnu-emacs@gnu.org; Fri, 03 Jul 2015 16:50:49 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.166 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:105394 Archived-At: > 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 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".