You mean by scanning /proc recursively ?

2009/9/21 T. Guilleminot <t...@guilleminot.org>:
> Hi,
>
> Does anyone know a simple way to check if a Linux process exists/runs
> (child or not) *without* running an OS command via TProcess (or other)?

You can read all the /proc/%d/cmdline files to search for a specific
process.

Henry



_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to