[Lazarus] Process ID

Michael Schnell mschnell at lumino.de
Thu Sep 13 11:59:01 CEST 2012


On 09/13/2012 10:48 AM, Antonio Fortuny wrote:
> This way of solving the problem seems to be the best when the goal is 
> to retrieve the PID of a given program. As the /proc directory is tidy 
> coupled to the kernel it's probably the fastest
Yep
> This is what I gonna implement for the second part of my development.
>
You additionally might want to take a look at the C source code of 
"pidof". Happy open-sourcing :)

-Michael




More information about the Lazarus mailing list