Kill apps under linux lazarus / 13-General ---------------------------------------------------------------------- filipenf · 2005-05-30 18:30 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 ---------------------------------------------------------------------- matthijs · 2005-05-30 21:25 Have a look at this. And think of commands like ps. To get a list of running processes you use ps. Catch the output and extract the process ID from your program. Then issue the kill -9 command. ---------------------------------------------------------------------- Marc · 2005-06-01 17:00 if you wamt to do it in code, use fpKill() don't know how to get a process list