I have a console deamon that is runned by a GUI application. When the GUI application is terminated I'd like to stop the deamon as well.
How can I do it in a gentle way on windows?
On Linux I would just use SIGTERM is there a similar mechanism on windows for console applications?
To provide a bit more details: the deamon app is written in python and the gui is written in C# & windows forms.