diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2016-01-08 13:51:31 +0100 |
---|---|---|
committer | Björn Linse <bjorn.linse@gmail.com> | 2016-01-20 11:09:29 +0100 |
commit | f338ea783591cdf4fcbaf948cd675374ba1fb3b9 (patch) | |
tree | 632a8023501c9c64c2347130c915c65019ee56d8 /runtime/doc/eval.txt | |
parent | 49f04179888944943f0266cd77810e467f9d68ef (diff) | |
download | rneovim-f338ea783591cdf4fcbaf948cd675374ba1fb3b9.tar.gz rneovim-f338ea783591cdf4fcbaf948cd675374ba1fb3b9.tar.bz2 rneovim-f338ea783591cdf4fcbaf948cd675374ba1fb3b9.zip |
job control: implement jobpid() to get PID of job
Diffstat (limited to 'runtime/doc/eval.txt')
-rw-r--r-- | runtime/doc/eval.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index 9207f1a85c..ce002eed37 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -1894,6 +1894,7 @@ isdirectory( {directory}) Number TRUE if {directory} is a directory islocked( {expr}) Number TRUE if {expr} is locked items( {dict}) List key-value pairs in {dict} jobclose({job}[, {stream}]) Number Closes a job stream(s) +jobpid({job}) Number Returns pid of a job. jobresize({job}, {width}, {height}) Number Resize {job}'s pseudo terminal window jobsend({job}, {data}) Number Writes {data} to {job}'s stdin @@ -4157,6 +4158,9 @@ jobclose({job}[, {stream}]) {Nvim} *jobclose()* Close {job}'s {stream}, which can be one "stdin", "stdout" or "stderr". If {stream} is omitted, all streams are closed. +jobpid({job}) {Nvim} *jobpid()* + Return the pid (process id) of {job}. + jobresize({job}, {width}, {height}) {Nvim} *jobresize()* Resize {job}'s pseudo terminal window to {width} and {height}. This function will fail if used on jobs started without the |