* 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
* Re: Quting arguments for perl subprocess
[not found] <mailman.125.1139947231.2856.help-gnu-emacs@gnu.org>
@ 2006-02-14 21:44 ` Stefan Monnier
0 siblings, 0 replies; 3+ messages in thread
From: Stefan Monnier @ 2006-02-14 21:44 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.
What makes you think they need to be quoted? There is no shell involved.
Stefan
^ permalink raw reply [flat|nested] 3+ messages in thread
* 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 --
[not found] <mailman.125.1139947231.2856.help-gnu-emacs@gnu.org>
2006-02-14 21:44 ` Quting arguments for perl subprocess Stefan Monnier
2006-02-15 9:07 LENNART BORGMAN
-- strict thread matches above, loose matches on Subject: below --
2006-02-14 20:00 Lennart Borgman
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.