Next: start-file-process, Previous: make-pipe-process, Up: Creating Asynchronous Subprocesses [Index]
This function is a higher-level wrapper around ‘make-process’, exposing an
interface that is similar to call-process
. It creates a new asynchronous
subprocess and starts the specified PROGRAM running in it. It returns a
process object that stands for the new subprocess in Lisp.
The argument NAME specifies the name for the process object; as with ‘make-process’, it is modified if necessary to make it unique.
The buffer BUFFER-OR-NAME is the buffer to associate with the process.
If PROGRAM is ‘nil’, Emacs opens a new pseudoterminal (pty) and associates its input and output with BUFFER-OR-NAME, without creating a subprocess. In that case, the remaining arguments ARGS are ignored.
The rest of ARGS are strings that specify command line arguments for the subprocess.