Mercurial > emacs
diff src/callproc.c @ 71340:5de9b904c7ad
(Fcall_process): Doc fix.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Tue, 13 Jun 2006 23:08:39 +0000 |
parents | 73da2b5d5e9c |
children | b917846a39d7 a387c138b28e 138027c8c982 |
line wrap: on
line diff
--- a/src/callproc.c Tue Jun 13 23:07:56 2006 +0000 +++ b/src/callproc.c Tue Jun 13 23:08:39 2006 +0000 @@ -203,6 +203,10 @@ Fourth arg DISPLAY non-nil means redisplay buffer as output is inserted. Remaining arguments are strings passed as command arguments to PROGRAM. +If executable PROGRAM can't be found as an executable, `call-process' +signals a Lisp error. `call-process' reports errors in execution of +the program only through its return and output. + If BUFFER is 0, `call-process' returns immediately with value nil. Otherwise it waits for PROGRAM to terminate and returns a numeric exit status or a signal description string.