[Top][All Lists]

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

Re: Redirecting standard output

From: Andy Moreton
Subject: Re: Redirecting standard output
Date: Sun, 01 May 2011 18:56:52 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (windows-nt)

On Sun 01 May 2011, Lars Magne Ingebrigtsen wrote:

> 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.

This works fine for me on WinXP:

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


reply via email to

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