unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Redirectin output of call-process to a file.
@ 2013-05-22 13:03 Olive
  2013-05-22 17:07 ` Barry Margolin
  0 siblings, 1 reply; 3+ messages in thread
From: Olive @ 2013-05-22 13:03 UTC (permalink / raw)
  To: help-gnu-emacs

I am executing the following command:

(call-process "/usr/bin/echo" nil (:file "/tmp/test.txt") nil "hello")

According tothe documentaion this should redirect the output of th eproces to the file "/tmp/test.txt" but I have this error:

Symbol's function definition is void: :file

What am I doingwrong here? I use emcs 24.3.1 on GNU/Linux.

liv



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-05-22 17:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-22 13:03 Redirectin output of call-process to a file Olive
2013-05-22 17:07 ` Barry Margolin
2013-05-22 17:50   ` Olive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).