Sep-29-2017, 02:41 PM
The parent process could create a small file in a well known location (~/.my-program/process.pid, perhaps) at startup, where it writes it's own pid, so any spawning process can find it easily. Or, you could just spam the signal to all python processes running, and hope the other ones just ignore it :p