From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Orm Finnendahl Newsgroups: gmane.emacs.help Subject: Re: shell-command without output Date: Tue, 16 Dec 2003 10:47:06 +0100 Organization: Folkwang-Hochschule, Essen, Germany Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <20031216094706.GA1275@finnendahl.de> References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Trace: sea.gmane.org 1071568129 18732 80.91.224.253 (16 Dec 2003 09:48:49 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 16 Dec 2003 09:48:49 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Dec 16 10:48:46 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AWBor-0002Yq-00 for ; Tue, 16 Dec 2003 10:48:46 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AWCmG-0007Dq-2S for geh-help-gnu-emacs@m.gmane.org; Tue, 16 Dec 2003 05:50:08 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AWClJ-0007AO-NE for help-gnu-emacs@gnu.org; Tue, 16 Dec 2003 05:49:09 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AWCkn-0006pJ-Q7 for help-gnu-emacs@gnu.org; Tue, 16 Dec 2003 05:49:08 -0500 Original-Received: from [193.175.156.129] (helo=icemserv.folkwang-hochschule.de) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.24) id 1AWCkn-0006oF-5g for help-gnu-emacs@gnu.org; Tue, 16 Dec 2003 05:48:37 -0500 Original-Received: from grisey.local (root@icemserv.folkwang-hochschule.de [193.175.156.129]) by icemserv.folkwang-hochschule.de (8.11.6/8.11.6) with ESMTP id hBG9tRi61617 for ; Tue, 16 Dec 2003 10:55:27 +0100 (CET) (envelope-from finnendahl@folkwang-hochschule.de) Original-Received: from orm by grisey.local with local (Exim 3.36 #1 (Debian)) id 1AWBnG-0000LS-00 for ; Tue, 16 Dec 2003 10:47:06 +0100 Original-To: help-gnu-emacs@gnu.org Mail-Followup-To: help-gnu-emacs@gnu.org Content-Disposition: inline In-Reply-To: X-Operating-System: Linux User-Agent: Mutt/1.5.4i X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 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 Xref: main.gmane.org gmane.emacs.help:15306 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:15306 Am 15. Dezember 2003, 19:36 Uhr (+0100) schrieb Miguel Frasson: > I am writing a major mode (frontend for a script) and I want to execute > shell commands, but *do not* read the output (unless I want, switching to an > output buffer, for instance). > > shell-command always shows the output. > > How to avoid that (no matter the script has output or not)? redirect the output of the shell command to /dev/null (like ' &> /dev/null') -- Orm