I am running a Python script from within PyCharm (via IntelliJ IDEA). It is a daemon, and I'd like to send it one of the following signals to allow it to gracefully shutdown and complete. Is there a way to send a signal to the process being run or debugged within the IDE?
Using the Stop button appears to kill the process cold without a chance to release resources.
signals = [