On Mon, 6 Jun 2011 22:02:39 +0100 (BST) phoebus phoebus <frphoe...@yahoo.fr> 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 - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal