[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: |
Sat, 07 May 2011 14:34:05 +0300 |
> From: Lars Magne Ingebrigtsen <address@hidden>
> Date: Sun, 01 May 2011 02:06:46 +0200
>
> 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.
Thanks.
It didn't work on DOS, because Emacs was trying to read from a
temporary file which we don't create when :file is used.
I fixed that; see the diffs for revno 104152.1.2 for the gory details
(if you are interested).