diff options
author | Lucas Hoffmann <l-m-h@web.de> | 2018-08-15 12:39:10 +0200 |
---|---|---|
committer | Lucas Hoffmann <l-m-h@web.de> | 2018-08-15 12:39:10 +0200 |
commit | 794e7b43599b4ecb3786de401725ba99087a501e (patch) | |
tree | 0d47612e4107ced760bd704df2b809cf097cd392 /src/clint.py | |
parent | ac2d661450f2e54652b6f557b5c1d374e88d006c (diff) | |
download | rneovim-794e7b43599b4ecb3786de401725ba99087a501e.tar.gz rneovim-794e7b43599b4ecb3786de401725ba99087a501e.tar.bz2 rneovim-794e7b43599b4ecb3786de401725ba99087a501e.zip |
API: Use `ps -o comm` in nvim_get_proc()
- The POSIX version of ps(1) only specifies "comm" for the "-o" option
but not "ucomm". See
http://pubs.opengroup.org/onlinepubs/9699919799/utilities/ps.html
- On Linux (with the procps-ng package) "ucomm" is an alias for "comm".
See https://gitlab.com/procps-ng/procps
- OpenBSD also has "ucomm" as an alias for "comm" (with the extra note
"Name to be used for accounting."). See https://man.openbsd.org/ps
- FreeBSD describes "ucomm" as "Name to be used for accounting." but
does not say that it should be an alias for "comm". See
https://www.freebsd.org/cgi/man.cgi?query=ps
Diffstat (limited to 'src/clint.py')
0 files changed, 0 insertions, 0 deletions