[fpc-pascal] Checking Linux process existence (child or not) without OS command ?

T. Guilleminot tom at guilleminot.org
Mon Sep 21 16:37:27 CEST 2009


You mean by scanning /proc recursively ?


2009/9/21 T. Guilleminot <tom at 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






More information about the fpc-pascal mailing list