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: term with multiple arguments Date: Fri, 25 Jul 2014 12:42:55 +0300 Message-ID: <8361ilkc4g.fsf@gnu.org> References: NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1406281413 22570 80.91.229.3 (25 Jul 2014 09:43:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 25 Jul 2014 09:43:33 +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 25 11:43:26 2014 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 1XAc29-0005Uc-LZ for geh-help-gnu-emacs@m.gmane.org; Fri, 25 Jul 2014 11:43:25 +0200 Original-Received: from localhost ([::1]:53842 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XAc29-0002hw-4B for geh-help-gnu-emacs@m.gmane.org; Fri, 25 Jul 2014 05:43:25 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43824) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XAc1i-0002Pw-7V for help-gnu-emacs@gnu.org; Fri, 25 Jul 2014 05:43:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XAc1Z-0006RA-QU for help-gnu-emacs@gnu.org; Fri, 25 Jul 2014 05:42:58 -0400 Original-Received: from mtaout24.012.net.il ([80.179.55.180]:40312) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XAc1Z-0006Qz-IH for help-gnu-emacs@gnu.org; Fri, 25 Jul 2014 05:42:49 -0400 Original-Received: from conversion-daemon.mtaout24.012.net.il by mtaout24.012.net.il (HyperSendmail v2007.08) id <0N9900L00HDOF600@mtaout24.012.net.il> for help-gnu-emacs@gnu.org; Fri, 25 Jul 2014 12:38:44 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout24.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N9900I4QHGKHU30@mtaout24.012.net.il> for help-gnu-emacs@gnu.org; Fri, 25 Jul 2014 12:38:44 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.179.55.180 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:98945 Archived-At: > From: Carlos Pita > Date: Thu, 24 Jul 2014 19:21:54 -0300 > > I'm unable to pass multiple arguments to term: > > (term "ls /home") > (term "sh -c 'ls /home'") > too many arguments > > (term '( "ls" "/home" )) > (term [ "ls" "/home" ]) > wrong type argument > > (term "ls" "/home") > wrong number of arguments > > Is this possible? I would be surprised if not. The argument of 'term' is the executable file name of a program. It's not a shell command.