process.pidof(3lua): add note regarding pgrep(1) usage
This commit is contained in:
parent
1a5a54d808
commit
82c47c778c
1 changed files with 10 additions and 0 deletions
|
@ -14,6 +14,16 @@ the first process found with the command name _cmd_ is returned.
|
|||
|
||||
If a process could not be found, *process.pidof* returns nil.
|
||||
|
||||
# BUGS
|
||||
*process.pidof* depends on the nonportable program pgrep(1).
|
||||
This program can be found in the procps-ng package on Linux
|
||||
included in most distributions, or as part of the base system
|
||||
on OpenBSD, NetBSD and FreeBSD.
|
||||
|
||||
Work is being done to free *process.pidof* of this burden;
|
||||
follow along with the tracking ticket for any updates
|
||||
<*https://todo.sr.ht/~jeremy/callisto/7*>.
|
||||
|
||||
# EXAMPLES
|
||||
Flawed implementation of *process.pid*:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue