From 1d4563771bcdaca0e6ec3eba1ca3ee6461d7afb5 Mon Sep 17 00:00:00 2001 From: Björn Linse Date: Thu, 17 Nov 2016 08:53:05 +0100 Subject: jobs: ensure calling jobclose() on a pty job sends SIGHUP. Closes #5619 --- runtime/doc/eval.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'runtime/doc') diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index 64f58c5599..9c6cbd5a1a 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -4411,7 +4411,8 @@ jobclose({job}[, {stream}]) {Nvim} *jobclose()* Close {job}'s {stream}, which can be one of "stdin", "stdout", "stderr" or "rpc" (closes the rpc channel for a job started with the "rpc" option.) If {stream} is omitted, all streams - are closed. + are closed. If the job is a pty job, this will then close the + pty master, sending SIGHUP to the job process. jobpid({job}) {Nvim} *jobpid()* Return the pid (process id) of {job}. -- cgit