I'm creating a updater for my program and I need to kill the program when I need to download the newest version.
First of all I need to list all process on the machine, to discover what pids to kill.
In the Linux API there is a way to do that? Where can I find more info about this?
Thanks