aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
authorPhilipp Stephani2018-04-04 12:14:56 +0200
committerPhilipp Stephani2018-04-07 22:15:42 +0200
commit8df23a82042fa7dbaaa4377bc376d705595b073f (patch)
tree707eaddc19a76a72c39ae0481c8eea7ac93dda31 /src/process.c
parent55525480780d34b2f968739249685d0c9e9a063f (diff)
downloademacs-8df23a82042fa7dbaaa4377bc376d705595b073f.tar.gz
emacs-8df23a82042fa7dbaaa4377bc376d705595b073f.zip
Document that 'make-process' mixes the output streams
* doc/lispref/processes.texi (Asynchronous Processes): * src/process.c (Fmake_process): Document that standard error is mixed with standard output if STDERR is nil. * test/src/process-tests.el (make-process/mix-stderr): New unit test.
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/process.c b/src/process.c
index ed2cab7b51f..c357a8bdc33 100644
--- a/src/process.c
+++ b/src/process.c
@@ -1657,7 +1657,8 @@ to use a pty, or nil to use the default specified through
1657 1657
1658:stderr STDERR -- STDERR is either a buffer or a pipe process attached 1658:stderr STDERR -- STDERR is either a buffer or a pipe process attached
1659to the standard error of subprocess. Specifying this implies 1659to the standard error of subprocess. Specifying this implies
1660`:connection-type' is set to `pipe'. 1660`:connection-type' is set to `pipe'. If STDERR is nil, standard error
1661is mixed with standard output and sent to BUFFER or FILTER.
1661 1662
1662usage: (make-process &rest ARGS) */) 1663usage: (make-process &rest ARGS) */)
1663 (ptrdiff_t nargs, Lisp_Object *args) 1664 (ptrdiff_t nargs, Lisp_Object *args)