[Top][All Lists]

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

Re: Redirecting standard output

From: Eli Zaretskii
Subject: Re: Redirecting standard output
Date: Thu, 21 Apr 2011 08:57:27 +0300

> From: Lars Magne Ingebrigtsen <address@hidden>
> Date: Wed, 20 Apr 2011 23:19:57 +0200
> I was trying to play around with the pbmplus programs from Emacs, and
> that turns out to be somewhat awkward.  The programs all send output to
> STDOUT, and there seems to be no way to easily redirect STDOUT with
> `call-process'.

You mean, redirect to a file?  Why do you need that?

Anyway, redirecting to a temp buffer and then writing that buffer to a
file should be good enough, right?

> You can usually work around this by using `shell-command' or the like,
> but when dealing with directories that contain arbitrary characters,
> getting the quoting right can be somewhat icky.  (Although I found
> `shell-quote-argument' just now while writing this.  :-)

So, if you use shell-quote-argument, is there still a problem?

reply via email to

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