unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* call-process : outputing to a file
@ 2014-12-13 17:34 Pierre Lorenzon
  2014-12-13 17:47 ` Pierre Lorenzon
  0 siblings, 1 reply; 2+ messages in thread
From: Pierre Lorenzon @ 2014-12-13 17:34 UTC (permalink / raw)
  To: help-gnu-emacs


Hi,

I use emacs 25.0.50.

I don't undersand call-process documentation in particular at
third argument nature. Documentation says that output might go
to a file but I can't understand how.

(call-process myproc nil myfile nil)

consider myfile as a string and sends output to a buffer name
with that string. That is not the result I wish.

(call-process myproc nil (:file myfile) nil) Says that make an
error saying that :file is not a function : I could have guess
that myself but in the documentation syntax is given as follows
: (:file FILE-NAME) : what might that mean !


(call-process myproc nil :file myfile nil) causes also an error
: wrong type arguments stringp nil.


Does anyone have an idea or should I investigate the code to
understand something ?

Regards 



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

end of thread, other threads:[~2014-12-13 17:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-13 17:34 call-process : outputing to a file Pierre Lorenzon
2014-12-13 17:47 ` Pierre Lorenzon

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