https://github.com/vindarel/getpid
Trivial and portable snippet to get (and save) the PID of the current Lisp image.
https://github.com/vindarel/getpid
Last synced: 5 months ago
JSON representation
Trivial and portable snippet to get (and save) the PID of the current Lisp image.
- Host: GitHub
- URL: https://github.com/vindarel/getpid
- Owner: vindarel
- Created: 2020-12-10T18:29:57.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-01-09T09:49:45.000Z (over 2 years ago)
- Last Synced: 2025-04-05T22:29:11.779Z (about 1 year ago)
- Language: Common Lisp
- Size: 1000 Bytes
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Getpid
A trivial portable utility to get the PID of the current Lisp process.
Example use case: start a web application on the background and use
the PID to send signals to it.
## API
- `getpid`
- `save-pid &optional file`
It works for SBCL, CCL, ECL, LispWorks and Allegro.
UIOP doesn't want this function, so here it is.
# Installation
This library is on [Ultralisp](https://ultralisp.org/github).
WTFPL.