Commit Graph

5 Commits

Author SHA1 Message Date
01b247d7fa Nix Fix 2025-04-10 10:42:17 +03:00
Narvin Singh
8d02ac14c9 Merge: feat-request-all 2021-10-25 22:53:41 -04:00
Narvin Singh
1bf05d0972 Feat: Return a PID in edge cases
- Return the first ancestor PID if root_name is not found.
- Return the process' own PID if its own name is root_name.
2021-10-25 22:29:52 -04:00
Narvin Singh
1516ff1550 Feat: Default PID
Make the pid parameter default to the PID of the current process.

Change the exit code for invalid arguments to a value in the user
defined range (see https://tldp.org/LDP/abs/html/exitcodes.html). This
may be considered a breaking change, but since the only applications
that currently use this script don't rely on this code, I don't think
we need to bump the major version for this.
2021-01-04 14:47:13 -05:00
Narvin Singh
886d4e8d2d Feat: rpid
The daemon and scheduler will need rpid to get the PID of the login
process that they are both descended from in order to create a unique
fifo in order to not conflict with other daemons and schedulers in
other sessions.
2021-01-01 23:21:44 -05:00