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

Henry Vermaak henry.vermaak at gmail.com
Mon Sep 21 15:59:32 CEST 2009


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