From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.help Subject: Quting arguments for perl subprocess Date: Tue, 14 Feb 2006 21:00:19 +0100 Message-ID: <43F236D3.9050605@student.lu.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1139957461 9863 80.91.229.2 (14 Feb 2006 22:51:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 14 Feb 2006 22:51:01 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Feb 14 23:50:59 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1F990Z-0005qO-G1 for geh-help-gnu-emacs@m.gmane.org; Tue, 14 Feb 2006 23:50:56 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F990Y-00006u-WD for geh-help-gnu-emacs@m.gmane.org; Tue, 14 Feb 2006 17:50:55 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1F96La-0007di-FT for help-gnu-emacs@gnu.org; Tue, 14 Feb 2006 15:00:28 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1F96LY-0007cg-50 for help-gnu-emacs@gnu.org; Tue, 14 Feb 2006 15:00:26 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F96LX-0007cX-QP for help-gnu-emacs@gnu.org; Tue, 14 Feb 2006 15:00:24 -0500 Original-Received: from [81.228.8.83] (helo=pne-smtpout1-sn2.hy.skanova.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1F96QH-0001Sz-EM for help-gnu-emacs@gnu.org; Tue, 14 Feb 2006 15:05:17 -0500 Original-Received: from [192.168.123.121] (83.249.218.244) by pne-smtpout1-sn2.hy.skanova.net (7.2.070) id 43EC8670001098F3 for help-gnu-emacs@gnu.org; Tue, 14 Feb 2006 21:00:20 +0100 User-Agent: Thunderbird 1.5 (Windows/20051201) Original-To: "help-gnu-emacs@gnu.org" X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:33195 Archived-At: I want to do something like (setq sts (apply 'call-process prog nil (current-buffer) t args)) where prog="perl.exe" and the list args may contain things like file=some-file-name.txt The file name above may contain spaces. Is there a standard way in Emacs to quote the file name for this? I believe it would look different on different OS:es.