Commit 51f42ae0 authored by Michael Albinus's avatar Michael Albinus
Browse files

* process.texi (Asynchronous Processes):

* files.texi (Magic File Names): Add `start-file-process'.
parent 7cb76caa
2007-07-07 Michael Albinus <michael.albinus@gmx.de>
* process.texi (Asynchronous Processes):
* files.texi (Magic File Names): Add `start-file-process'.
2007-06-27 Richard Stallman <rms@gnu.org>
* files.texi (Format Conversion Piecemeal): Clarify
......
......@@ -2616,6 +2616,7 @@ first, before handlers for jobs such as remote file access.
@code{process-file},
@code{rename-file}, @code{set-file-modes}, @code{set-file-times},
@code{set-visited-file-modtime}, @code{shell-command},
@code{start-file-process},
@code{substitute-in-file-name},@*
@code{unhandled-file-name-directory},
@code{vc-registered},
......@@ -2660,6 +2661,7 @@ first, before handlers for jobs such as remote file access.
@code{process-file},
@code{rename-file}, @code{set-file-modes},
@code{set-visited-file-modtime}, @code{shell-command},
@code{start-file-process},
@code{substitute-in-file-name},
@code{unhandled-file-name-directory},
@code{vc-regis@discretionary{}{}{}tered},
......
......@@ -495,6 +495,23 @@ Process my-process finished
@end smallexample
@end defun
@defun start-file-process name buffer-or-name program &rest args
Like @code{start-process}, this function starts a new asynchronous
subprocess running @var{program} in it. The corresponding process
object is returned.
If @code{default-directory} corresponds to a file handler, that
handler is invoked. @var{program} runs then on a remote host which is
identified by @code{default-directory}. The local part of
@code{default-directory} is the working directory of the subprocess.
@var{program} and @var{program-args} might be file names. They are not
objects of file handler invocation.
Some file handlers may not support @code{start-file-process} (for
example @code{ange-ftp-hook-function}). It returns then @code{nil}.
@end defun
@defun start-process-shell-command name buffer-or-name command &rest command-args
This function is like @code{start-process} except that it uses a shell
to execute the specified command. The argument @var{command} is a shell
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment