unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
Subject: Re: Quting arguments for perl subprocess
Date: Tue, 14 Feb 2006 16:44:11 -0500	[thread overview]
Message-ID: <87k6bxmxa3.fsf-monnier+gnu.emacs.help@gnu.org> (raw)
In-Reply-To: mailman.125.1139947231.2856.help-gnu-emacs@gnu.org

> 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.

What makes you think they need to be quoted?  There is no shell involved.


        Stefan

       reply	other threads:[~2006-02-14 21:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.125.1139947231.2856.help-gnu-emacs@gnu.org>
2006-02-14 21:44 ` Stefan Monnier [this message]
2006-02-15  9:07 Quting arguments for perl subprocess LENNART BORGMAN
  -- strict thread matches above, loose matches on Subject: below --
2006-02-14 20:00 Lennart Borgman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k6bxmxa3.fsf-monnier+gnu.emacs.help@gnu.org \
    --to=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).