Feature request: Function `signal-process`
Judging by https://common-lisp.net/project/ecl/manual/rn01.html it's currently possible to spawn a process asynchronously, check if it's running and wait for it to terminate.
Sometimes, I don't want to wait for it but send it a signal, like SIGTERM. Among the common lisp implementations that provide a function that allows me to do that are Clozure CL, Allegro CL, CMUCL, and SBCL (and maybe more but at least all of these are wrapped by external-program's signal-process
). It would be nice if ECL made it onto that list, too!
Edit: The implementation of such a function is not entirely straightforward. One key question is: What should happen if a signal is sent to a dead process? SBCL will simply do nothing as far as I can tell. Clozure CL, in contrast, finds this to be an error (by default) unless :error-if-exited is nil.