On Mon, 6 Jun 2011 22:02:39 +0100 (BST)
phoebus phoebus <[email protected]> wrote:
> Hi Mattias,
>
> I don't know if it exist a FPC function for that.
>
> i'll do an external commad like " ps -ef | grep bash | grep -v grep | awk
> '{print $8}'".
Thanks, I knew that.
I prefer a more direct way - for example via a sysctl.
I need to check under BSD if a PID is running and what name it has.
Is there already a function for that?
Mattias
_______________________________________________
fpc-pascal maillist - [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal