* Quting arguments for perl subprocess
@ 2006-02-14 20:00 Lennart Borgman
0 siblings, 0 replies; 3+ messages in thread
From: Lennart Borgman @ 2006-02-14 20:00 UTC (permalink / raw)
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <mailman.125.1139947231.2856.help-gnu-emacs@gnu.org>]
* Re: Quting arguments for perl subprocess
@ 2006-02-15 9:07 LENNART BORGMAN
0 siblings, 0 replies; 3+ messages in thread
From: LENNART BORGMAN @ 2006-02-15 9:07 UTC (permalink / raw)
Cc: help-gnu-emacs
From: Stefan Monnier <monnier@iro.umontreal.ca>
> > 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.
Some smog in my brain I guess. Thanks, it is clearer now.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-02-15 9:07 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-14 20:00 Quting arguments for perl subprocess Lennart Borgman
[not found] <mailman.125.1139947231.2856.help-gnu-emacs@gnu.org>
2006-02-14 21:44 ` Stefan Monnier
-- strict thread matches above, loose matches on Subject: below --
2006-02-15 9:07 LENNART BORGMAN
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).