[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Redirecting standard output

From: Lars Magne Ingebrigtsen
Subject: Re: Redirecting standard output
Date: Thu, 21 Apr 2011 14:24:38 +0200
User-agent: Gnus/5.110016 (No Gnus v0.16) Emacs/24.0.50 (gnu/linux)

Eli Zaretskii <address@hidden> writes:

> Sorry, I don't follow: what string? what reparsing?
> I meant to use something like this:
>   (call-process shell-file-name nil nil nil
>               shell-command-switch 
>               (concat "pnmscale < " 
>                       (shell-quote-argument "foo") " > "
>                       (shell-quote-argument "bar")))

Here you put stuff in a string and let the shell reparse it.  I think
that, in general, if you can avoid doing that, you should, just like you
should avoid saying `(eval (read-from-string zot))', if practical.

(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]