Next: , Previous: , Up: Creating Asynchronous Subprocesses   [Index]


I.1.3.4 start-file-process

Function: start-file-process name buffer-or-name program &rest args

Like ‘start-process’, this function starts a new asynchronous subprocess running PROGRAM in it, and returns its process object.

The difference from ‘start-process’ is that this function may invoke a file handler based on the value of ‘default-directory’. This handler ought to run PROGRAM, perhaps on the local host, perhaps on a remote host that corresponds to ‘default-directory’. In the latter case, the local part of ‘default-directory’ becomes the working directory of the process.