From 82c47c778c79001a7fcffc897f11d4e7c43759b1 Mon Sep 17 00:00:00 2001 From: Jeremy Baxter Date: Sat, 6 Apr 2024 19:59:48 +1300 Subject: [PATCH] process.pidof(3lua): add note regarding pgrep(1) usage --- man/process/process.pidof.3lua.scd | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/man/process/process.pidof.3lua.scd b/man/process/process.pidof.3lua.scd index 9b3b82a..8cf70e9 100644 --- a/man/process/process.pidof.3lua.scd +++ b/man/process/process.pidof.3lua.scd @@ -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*: