emacs-devel
[Top][All Lists]
Advanced

[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: Sun, 01 May 2011 02:06:46 +0200
User-agent: Gnus/5.110016 (No Gnus v0.16) Emacs/24.0.50 (gnu/linux)

Lars Magne Ingebrigtsen <address@hidden> writes:

> Unfortunately, I've just had very little time lately, so I'll just apply
> the STDOUT portion of the patch now, and we'll see what we do about
> STDERR later.

I've now done this.  I have not verified that it works on Windows/DOS,
so if someone could do that (and fix up any bloopers :-), I'd be
grateful.

The test case is:

(call-process "echo" nil '(:file "/tmp/buffer") nil "hello")

which should leave you with a file called "/tmp/buffer" with "hello\n"
as the contents.

-- 
(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]