diff options
Diffstat (limited to 'src/process.c')
| -rw-r--r-- | src/process.c | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/src/process.c b/src/process.c index 2e41267479c..567aae7c08f 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -1557,13 +1557,19 @@ DEFUN ("start-process", Fstart_process, Sstart_process, 3, MANY, 0, | |||
| 1557 | doc: /* Start a program in a subprocess. Return the process object for it. | 1557 | doc: /* Start a program in a subprocess. Return the process object for it. |
| 1558 | NAME is name for process. It is modified if necessary to make it unique. | 1558 | NAME is name for process. It is modified if necessary to make it unique. |
| 1559 | BUFFER is the buffer (or buffer name) to associate with the process. | 1559 | BUFFER is the buffer (or buffer name) to associate with the process. |
| 1560 | Process output goes at end of that buffer, unless you specify | 1560 | |
| 1561 | an output stream or filter function to handle the output. | 1561 | Process output (both standard output and standard error streams) goes |
| 1562 | BUFFER may be also nil, meaning that this process is not associated | 1562 | at end of BUFFER, unless you specify an output stream or filter |
| 1563 | with any buffer. | 1563 | function to handle the output. BUFFER may also be nil, meaning that |
| 1564 | this process is not associated with any buffer. | ||
| 1565 | |||
| 1564 | PROGRAM is the program file name. It is searched for in PATH. | 1566 | PROGRAM is the program file name. It is searched for in PATH. |
| 1565 | Remaining arguments are strings to give program as arguments. | 1567 | Remaining arguments are strings to give program as arguments. |
| 1566 | 1568 | ||
| 1569 | If you want to separate standard output from standard error, invoke | ||
| 1570 | the command through a shell and redirect one of them using the shell | ||
| 1571 | syntax. | ||
| 1572 | |||
| 1567 | usage: (start-process NAME BUFFER PROGRAM &rest PROGRAM-ARGS) */) | 1573 | usage: (start-process NAME BUFFER PROGRAM &rest PROGRAM-ARGS) */) |
| 1568 | (nargs, args) | 1574 | (nargs, args) |
| 1569 | int nargs; | 1575 | int nargs; |